Skip to content

Chore: Remove italic/bold font-style from system messages#26655

Merged
ggazzo merged 3 commits intodevelopfrom
feat/remove-italic-sys-message
Aug 25, 2022
Merged

Chore: Remove italic/bold font-style from system messages#26655
ggazzo merged 3 commits intodevelopfrom
feat/remove-italic-sys-message

Conversation

@hugocostadev
Copy link
Contributor

Proposed changes (including videos or screenshots)

It was removed from system messages font-styles elements (italic and bold) that highlighted some words as users, room_name and others.

In addition to this PR, was also created a PR to Fuselage to remove italic font style in general at system messages.

Fuselage PR: RocketChat/fuselage#830

Issue(s)

Steps to test or reproduce

Further comments

Both PR need to be tested together to accomplish the goal of this change.

Regex used to search and replace font-styles from system messages translation files:

Search regex:

("Room_name_changed":|"User_added_by":|"Added__username__to_team":|"User_removed_by":|"Removed__username__from_team":|"User_left":|"User_left_team":|"Converted__roomName__to_team":|"Converted__roomName__to_channel":|"Removed__roomName__from_this_team":|"Deleted__roomName__":|"added__roomName__to_team":|"User_joined_channel":|"User_joined_team":|"User_joined_conversation":|"Welcome":|"Message_removed":|"User_muted_by":|"User_unmuted_by":|"__username__was_set__role__by__user_by_":|"__username__is_no_longer__role__defined_by__user_by_":|"This_room_has_been_archived_by__username_":|"This_room_has_been_unarchived_by__username_":|"room_removed_read_only":|"room_set_read_only":|"room_allowed_reacting":|"room_disallowed_reacting":|"This_room_encryption_has_been_enabled_by__username_":|"This_room_encryption_has_been_disabled_by__username_":)+(.*?)(<em>__(.+?)__<\/em>)(.*?)

Replaced by: (twice)

$1$2__$4__$5

@codecov
Copy link

codecov bot commented Aug 22, 2022

Codecov Report

Merging #26655 (2351a12) into develop (18722ac) will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #26655      +/-   ##
===========================================
- Coverage    38.33%   38.32%   -0.01%     
===========================================
  Files          794      794              
  Lines        19002    19002              
  Branches      1937     1937              
===========================================
- Hits          7284     7283       -1     
+ Misses       11428    11426       -2     
- Partials       290      293       +3     
Flag Coverage Δ
e2e 38.32% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@ggazzo ggazzo changed the title [NEW] Remove italic/bold font-style from system messages Chore: Remove italic/bold font-style from system messages Aug 25, 2022
@ggazzo ggazzo changed the title Chore: Remove italic/bold font-style from system messages Chore: Remove italic/bold font-style from system messages Aug 25, 2022
@ggazzo ggazzo merged commit 7823746 into develop Aug 25, 2022
@ggazzo ggazzo deleted the feat/remove-italic-sys-message branch August 25, 2022 01:13
gabriellsh added a commit that referenced this pull request Aug 26, 2022
…hreads

* 'develop' of github.com:RocketChat/Rocket.Chat: (93 commits)
  Chore: Upgrade dependencies (#26694)
  Chore: More Omnichannel tests (#26691)
  Regression: Banner - Room not found - Omnichannel room (#26693)
  [NEW] Capability to search visitors by custom fields (#26312)
  Chore: Create tests for Omnichannel admin add a custom fields (#26609)
  [FIX] Avatars of other chats disappear when they located near chat with broken avatar (#26689)
  [IMPROVE] Added identification on calls to/from existing contacts (#26334)
  Regression: invalid statistics format  (#26684)
  Regression: "Cache size is not a function" error when booting (#26683)
  [FIX] Correct IMAP configuration for email inbox (#25789)
  [FIX] Active users count on `@all` and `@here`  (#25957)
  [FIX] Autotranslate method should respect setting (#26549)
  Chore: Remove italic/bold font-style from system messages (#26655)
  Chore: Convert AppSetting to tsx (#26625)
  Chore: Remove & Test old closeChat templates (#26631)
  [IMPROVE] General federation improvements (#26150)
  [NEW] Warn admins about running multiple instances of the monolith (#26667)
  Regression: Prevent message from being temp forever (#26668)
  Regression: Add alsoSendThreadToChannel to user settings api (#26663)
  [IMPROVE] Spotlight search user results (#26599)
  ...
csuadev pushed a commit that referenced this pull request Aug 26, 2022
Co-authored-by: gabriellsh <40830821+gabriellsh@users.noreply.github.com>
@murtaza98 murtaza98 mentioned this pull request Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants