Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Contextualbar resizable #29461

Merged
merged 17 commits into from
Apr 5, 2024
Merged

feat: Contextualbar resizable #29461

merged 17 commits into from
Apr 5, 2024

Conversation

dougfabris
Copy link
Member

@dougfabris dougfabris commented Jun 5, 2023

Proposed changes (including videos or screenshots)

Kapture 2023-06-23 at 18 47 30

Issue(s)

Closes RocketChat/feature-requests#159

Steps to test or reproduce

Further comments

CORE-282

@changeset-bot
Copy link

changeset-bot bot commented Jun 5, 2023

🦋 Changeset detected

Latest commit: c0b9706

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 32 packages
Name Type
@rocket.chat/meteor Minor
@rocket.chat/core-typings Minor
@rocket.chat/rest-typings Minor
@rocket.chat/apps Patch
@rocket.chat/core-services Patch
@rocket.chat/cron Patch
@rocket.chat/gazzodown Major
@rocket.chat/livechat Patch
@rocket.chat/model-typings Patch
@rocket.chat/ui-contexts Major
@rocket.chat/account-service Patch
@rocket.chat/authorization-service Patch
@rocket.chat/ddp-streamer Patch
@rocket.chat/omnichannel-transcript Patch
@rocket.chat/presence-service Patch
@rocket.chat/queue-worker Patch
@rocket.chat/stream-hub-service Patch
@rocket.chat/api-client Patch
@rocket.chat/license Patch
@rocket.chat/omnichannel-services Patch
@rocket.chat/pdf-worker Patch
@rocket.chat/presence Patch
rocketchat-services Patch
@rocket.chat/ddp-client Patch
@rocket.chat/fuselage-ui-kit Major
@rocket.chat/models Patch
@rocket.chat/ui-avatar Major
@rocket.chat/ui-client Major
@rocket.chat/ui-video-conf Major
@rocket.chat/uikit-playground Patch
@rocket.chat/web-ui-registration Major
@rocket.chat/instance-status Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codecov
Copy link

codecov bot commented Jun 5, 2023

Codecov Report

Attention: Patch coverage is 14.28571% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 54.74%. Comparing base (ec544d6) to head (167df1d).
Report is 1 commits behind head on develop.

❗ Current head 167df1d differs from pull request most recent head c0b9706. Consider uploading reports for the commit c0b9706 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #29461      +/-   ##
===========================================
- Coverage    54.83%   54.74%   -0.10%     
===========================================
  Files         2302     2303       +1     
  Lines        50828    50794      -34     
  Branches     10413    10388      -25     
===========================================
- Hits         27874    27805      -69     
- Misses       20443    20512      +69     
+ Partials      2511     2477      -34     
Flag Coverage Δ
unit 75.39% <ø> (ø)

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

@dougfabris dougfabris added this to the 6.4.0 milestone Jun 16, 2023
@dougfabris dougfabris changed the title feat: [PoC] Contextualbar resizable feat: Contextualbar resizable Jun 23, 2023
@dougfabris dougfabris marked this pull request as ready for review June 23, 2023 21:42
@dougfabris dougfabris requested review from a team as code owners June 23, 2023 21:42
@dougfabris dougfabris marked this pull request as draft June 26, 2023 19:11
@ggazzo ggazzo removed this from the 6.4.0 milestone Aug 21, 2023
@dougfabris dougfabris added this to the 6.5.0 milestone Aug 31, 2023
@Gummikavalier
Copy link

A suggestion: Currently we run the separate thread view as big as this with Custom CSS:

Screenshot from 2023-09-27 16-50-47

We hope that this separated view could be stretched from its default 50:50 form factor to something like in the picture.

At this custom size it is much more pleasing to read and focus on the discussion at hand.

@dougfabris dougfabris removed this from the 6.5.0 milestone Oct 17, 2023
@dougfabris
Copy link
Member Author

@Gummikavalier Thanks for the heads up, we'll consider it on delivering this feature!

@dougfabris dougfabris marked this pull request as ready for review March 19, 2024 22:15
Copy link
Contributor

dionisio-bot bot commented Apr 4, 2024

Looks like this PR is not ready to merge, because of the following issues:

  • This PR is not mergeable
    Please fix the issues and try again
    If you have any trouble, please check the PR guidelines

@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label Apr 4, 2024
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: ready to merge PR tested and approved waiting for merge labels Apr 5, 2024
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: ready to merge PR tested and approved waiting for merge labels Apr 5, 2024
@ggazzo ggazzo merged commit 0be04cf into develop Apr 5, 2024
12 checks passed
@ggazzo ggazzo deleted the feat/contextualbar-resizable branch April 5, 2024 13:58
@dougfabris dougfabris modified the milestones: 7.0, 6.8 Apr 5, 2024
@dionisio-bot dionisio-bot bot removed the stat: ready to merge PR tested and approved waiting for merge label Apr 5, 2024
gabriellsh added a commit that referenced this pull request Apr 9, 2024
 Via GitHub (2) and Guilherme Gazzo (1)
* develop: (40 commits)
  chore: Fix some check/lint warnings (#32048)
  Revert "fix!: api login should not suggest which credential is wrong" (#32156)
  test: Prevent playwright from unselecting options by mistake (#32158)
  chore(meteor/packages): apply code style (#32145)
  fix: New messages export overwrites previous one from the same day when using Amazon S3 (#32062)
  Release 6.7.0
  chore: bump to 6.8.0 (#32153)
  chore: remove unused onStartup function (#32149)
  Release 6.7.0-rc.4
  chore: remove collections when db watcher is disabled (#32150)
  chore: Bump Apps-Engine version (#32144)
  regression(fuselage-ui-kit): Use default translation namespace for `-core` apps (#32105)
  regression(fuselage-ui-kit): Use default translation namespace for `-core` apps (#32105)
  chore: move imported `Apps` to proxy (#32142)
  feat: allowing forward to offline dep (#31976)
  ci: fix services container not building in build step (#32075)
  feat: `Contextualbar` resizable (#29461)
  fix: Missing space between name and user name on system messages (#32136)
  fix: livechat room desync on different windows (#32135)
  fix: livechat room desync on different windows (#32135)
  ...
@Gummikavalier
Copy link

Gummikavalier commented May 13, 2024

This one is currently broken in RC 6.8.0; Hovering mouse over the contextual bar edge simply does nothing. I cleared our custom CSS first for this test. I tested also at open.rocket.chat with the same result.

@dougfabris
Copy link
Member Author

dougfabris commented May 13, 2024

@Gummikavalier it was released as a feature preview, in order to be able to use it you have to enable the feature under User Account > Feature preview. And of course, the feature preview should be active on the workspace also (it's active on open.rocket.chat, so you can check this feature there).

@Gummikavalier
Copy link

@dougfabris Ahh, I eyeballed for it under admin settings but couldn't find it first. Found the Feature preview now.

Resizing works a treat now. Thanks! 😍

@dougfabris
Copy link
Member Author

@Gummikavalier We're running some experiments, would appreciate your feedback for the whole feature and mainly for the possibility to not having the thread expanded anymore, since user can resize for all contexts

@Gummikavalier
Copy link

@dougfabris I'll be updating one production system this week to RC 6.8.0 so we may get some comments after that.

A forewarning though; We've spoiled our users for years with that a lot more extended custom Expand thread view mode I mentioned earlier here. So it is not likely many will switch from expand thread view to to regular thread view due to latter having only 50% max size. 🤔

Most rejoicing would be heard from option to resize both thread views. And extra hugs from ability to tune the channel listing bar as well. 🤗

(Yes, appetite grows from these small tasters. 😁 )

@dougfabris
Copy link
Member Author

@Gummikavalier Thanks for replying! I've been planning to discuss with the design team the ability to increase the max size over 50%, do you think with this ability, your users will still miss the extended view? I think the main goal here is to have a unique mechanism to improve the contextual bar view using personalization

@Gummikavalier
Copy link

@dougfabris Actually even my personal preference is the Expanded view as it darkens the main channel and focuses the eyes on the thread. It stands out better and the general esthetics is less cluttered. Meaning that the user is more focused to the discussion.

Several exactly same looking parallel text columns is quite confusing (to me at least). Looking at Discord often makes me vince how bad it can be. 🤢

With regular view if you were able to increase the size to higher than 50%, it'd probably also reformat the messages in the main channel view quite thin. Not sure, would probably need some prototyping to see how it'd work.

If only regular mode is the way to go in the future to simplify design, maybe some coloring or hue changes to either main channel or thread background could help with that.

@dougfabris
Copy link
Member Author

@Gummikavalier Yeah, maybe a focus mode option that makes the main channel darker instead of extended. Thank your for bring your opinion, I will add it to the discussion with the design team

@Gummikavalier
Copy link

@dougfabris No problem and thank you. Regarding on comments on resized contextual bar; it is great that particularly message search, threads listing and members list views can be extended; it making them easier to read.

@Gummikavalier
Copy link

Gummikavalier commented May 17, 2024

@dougfabris FYI: Not reporting this as an official bug, as the feature is in preview. If you hover the mouse in expanded view over a line where the divider would be in collapsed view, it shows through as a blue line.

This flashes to the uses every now and then when the mouse travels exactly over the line. Probably not worth fixing if expanded view would be going away, though.

@dougfabris
Copy link
Member Author

dougfabris commented May 17, 2024

@Gummikavalier This is a know issue indeed, thank you for reporting. But yeah, we have to check first about the usage of the extended view. If we doesn't keep it, there is no why fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat: QA assured Means it has been tested and approved by a company insider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expandable thread column
4 participants