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: add sidepanel to teams api #32868

Merged
merged 15 commits into from
Aug 6, 2024
Merged

feat: add sidepanel to teams api #32868

merged 15 commits into from
Aug 6, 2024

Conversation

juliajforesti
Copy link
Contributor

@juliajforesti juliajforesti commented Jul 23, 2024

SIDE-134

Proposed changes (including videos or screenshots)

The new navigation feature adds the possibility of opening a sidepanel when opening a Team.
The sidepanel can list the team's channels and/or discussions.
This will be a configuration for each team when creating or editing.

This PR prepares the api structure for the upcoming UI.

  • Add sidepanel to
    • teams.create
    • rooms.saveRoomSettings
  • Cover related tests

Issue(s)

Steps to test or reproduce

Further comments

Copy link
Contributor

dionisio-bot bot commented Jul 23, 2024

Looks like this PR is ready to merge! 🎉
If you have any trouble, please check the PR guidelines

Copy link

changeset-bot bot commented Jul 23, 2024

🦋 Changeset detected

Latest commit: c5a2af3

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/core-services Minor
@rocket.chat/model-typings Minor
@rocket.chat/core-typings Minor
@rocket.chat/rest-typings Minor
@rocket.chat/meteor Minor
@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/omnichannel-services Patch
@rocket.chat/presence Patch
rocketchat-services Patch
@rocket.chat/apps Patch
@rocket.chat/models Patch
@rocket.chat/cron Patch
@rocket.chat/fuselage-ui-kit Major
@rocket.chat/gazzodown Major
@rocket.chat/livechat Patch
@rocket.chat/ui-contexts Major
@rocket.chat/api-client Patch
@rocket.chat/ddp-client Patch
@rocket.chat/license Patch
@rocket.chat/pdf-worker Patch
@rocket.chat/instance-status Patch
@rocket.chat/uikit-playground Patch
@rocket.chat/ui-avatar Major
@rocket.chat/ui-client Major
@rocket.chat/ui-video-conf Major
@rocket.chat/web-ui-registration Major

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

Copy link

codecov bot commented Jul 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.93%. Comparing base (9939508) to head (c5a2af3).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #32868      +/-   ##
===========================================
- Coverage    55.00%   54.93%   -0.07%     
===========================================
  Files         2596     2598       +2     
  Lines        56005    56071      +66     
  Branches     11589    11598       +9     
===========================================
+ Hits         30803    30804       +1     
- Misses       22559    22637      +78     
+ Partials      2643     2630      -13     
Flag Coverage Δ
unit 73.06% <ø> (ø)

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

@juliajforesti juliajforesti marked this pull request as ready for review July 23, 2024 21:03
@juliajforesti juliajforesti requested review from a team as code owners July 23, 2024 21:03
Copy link
Member

@matheusbsilva137 matheusbsilva137 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, can you please add more context in the PR description about how this change should work?

apps/meteor/app/api/server/v1/teams.ts Outdated Show resolved Hide resolved
@juliajforesti juliajforesti changed the title feat: add sidepanel to teams create feat: add sidepanel to teams api Jul 26, 2024
packages/core-typings/src/IRoom.ts Outdated Show resolved Hide resolved
packages/core-typings/src/IRoom.ts Outdated Show resolved Hide resolved
apps/meteor/tests/end-to-end/api/rooms.ts Outdated Show resolved Hide resolved
apps/meteor/tests/end-to-end/api/teams.ts Outdated Show resolved Hide resolved
@juliajforesti juliajforesti added this to the 6.12 milestone Jul 29, 2024
packages/core-typings/src/IRoom.ts Outdated Show resolved Hide resolved
apps/meteor/tests/end-to-end/api/teams.ts Outdated Show resolved Hide resolved
Co-authored-by: Matheus Barbosa Silva <[email protected]>
@ggazzo ggazzo added the stat: QA assured Means it has been tested and approved by a company insider label Aug 5, 2024
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label Aug 5, 2024
@dionisio-bot dionisio-bot bot removed the stat: ready to merge PR tested and approved waiting for merge label Aug 5, 2024
@juliajforesti juliajforesti added the stat: ready to merge PR tested and approved waiting for merge label Aug 6, 2024
@kodiakhq kodiakhq bot merged commit e28be46 into develop Aug 6, 2024
55 checks passed
@kodiakhq kodiakhq bot deleted the feat/sidepanel-api branch August 6, 2024 16:22
gabriellsh added a commit that referenced this pull request Aug 8, 2024
…Chat into improve/threadMetrics

* 'improve/threadMetrics' of github.com:RocketChat/Rocket.Chat:
  ci: Bump `@actions/download-artifact` and `@actions/upload-artifact` (#32930)
  fix: Allow custom fields on messages to be updated even if `msg` prop is not updated (via API) (#32791)
  test: Make Omnichannel jobs run every 3 secs on CI instead of 1 min (#32967)
  ci: only rebuild docker if event is pull request and is from outside (#32997)
  ci: remove tmp files (#32996)
  test: Mock `dns.lookup` on `checkUrlForSsrf` tests (#32995)
  chore: `FilterByText` component sanitization (#32957)
  chore: Renders back button through prop in admin settings (#32987)
  feat: add `sidepanel` to teams api (#32868)
  chore: don't mark room as read after sending message (#32941)
  chore: replace `dtinth/setup-github-actions-caching-for-turbo` to use `rhark… (#32990)
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 stat: ready to merge PR tested and approved waiting for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants