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: New navigation system #16785

Open
wants to merge 109 commits into
base: dev
Choose a base branch
from
Open

feat: New navigation system #16785

wants to merge 109 commits into from

Conversation

thisisamir98
Copy link
Contributor

@thisisamir98 thisisamir98 commented Feb 8, 2024

Copy link

codecov bot commented Feb 8, 2024

Codecov Report

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

Project coverage is 45.94%. Comparing base (80665cd) to head (22d9b92).
Report is 10 commits behind head on dev.

❗ Current head 22d9b92 differs from pull request most recent head 7189d27. Consider uploading reports for the commit 7189d27 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##              dev   #16785      +/-   ##
==========================================
- Coverage   46.08%   45.94%   -0.14%     
==========================================
  Files         746      749       +3     
  Lines       24520    24516       -4     
  Branches     5611     5599      -12     
==========================================
- Hits        11300    11265      -35     
- Misses      11791    11819      +28     
- Partials     1429     1432       +3     

thisisamir98 and others added 4 commits February 29, 2024 18:08
* feat: Add searchbar to top of conversation list (WPB-5949)

* bump ui kit

* update icon

* chore: add server engine version

* fix search logic

* only show in recent tab

* style and copy

* adjust search input styles to new design

* migrate styles to separate file

* shorten syntax

---------

Co-authored-by: Timothy Le Bon <[email protected]>
* feat: initial sidebar change (WPB-5944)

* feat: migrate contacts to connect

* Update src/style/list/conversations.less

Co-authored-by: Virgile <[email protected]>

* Update src/style/list/conversations.less

Co-authored-by: Virgile <[email protected]>

---------

Co-authored-by: Virgile <[email protected]>
* feat: add badges to new navigation sidebar

* feat: update copy

* remove label

* remove extra code
* feat: add favorites tab (WPB-5946)

* feat: update favorites icon

* feat: add new groups tab

* feat: add direct conversations

* fix: correct badge for directs

* reset filter on view switch
thisisamir98 and others added 10 commits March 4, 2024 13:42
…16967)

* feat: Add searchbar to top of conversation list (WPB-5949) (#16676)

* feat: Add searchbar to top of conversation list (WPB-5949)

* bump ui kit

* update icon

* chore: add server engine version

* fix search logic

* only show in recent tab

* style and copy

* adjust search input styles to new design

* migrate styles to separate file

* shorten syntax

---------

Co-authored-by: Timothy Le Bon <[email protected]>

* feat: Add sidebar with existing options (WPB-5944) (#16784)

* feat: initial sidebar change (WPB-5944)

* feat: migrate contacts to connect

* Update src/style/list/conversations.less

Co-authored-by: Virgile <[email protected]>

* Update src/style/list/conversations.less

Co-authored-by: Virgile <[email protected]>

---------

Co-authored-by: Virgile <[email protected]>

* feat: add badges to new navigation sidebar (WPB-6651) (#16849)

* feat: add badges to new navigation sidebar

* feat: update copy

* remove label

* remove extra code

* feat: add favorites, groups & directs tabs (WPB-5946) (#16861)

* feat: add favorites tab (WPB-5946)

* feat: update favorites icon

* feat: add new groups tab

* feat: add direct conversations

* fix: correct badge for directs

* reset filter on view switch

* feat: add search to groups, favorites & directs sidebar tabs

* refactor: remove extra folders from folders view

* refactor: rename ConversationViewStyle to SidebarTabs

* refactor: rename viewStyle to sidebarTab

* refactor: rename view style to current tab

* feat: move connect and archives to new navigation system

* fix: show current active sidebar tabs

* fix: bring back prefrences

* refactor use or

* refactor: remove commented code

* refactor: reuse isFolderView

* Update src/script/page/LeftSidebar/panels/Conversations/Conversations.tsx

Co-authored-by: Przemysław Jóźwik <[email protected]>

* refactor: use includes

* refactor: remove extra white space

---------

Co-authored-by: Timothy Le Bon <[email protected]>
Co-authored-by: Virgile <[email protected]>
Co-authored-by: Przemysław Jóźwik <[email protected]>
* runfix: address new navigation styling in dark mode (WPB-6811)

* remove unused css class

* use themed input color for labels
* feat: basic new preferences

* fix header

* fix: show custom folders

* finalize animation removal

* feat: remove settings icon from sidebar tabs

* feat: update copies

* bring back line breaks
* feat: user details in new nav structure

* remove header from left sidebar

* CR fixes
* feat: Empty state for conversations

* remove unecessary code
przemvs and others added 4 commits March 28, 2024 12:12
* feat: sidebar toggle

* basic hover

* handler tweaks

* move button to bottom

* update background color

* feat: handle accesiblity error
* feat: add support for folders

* fix style

* feat: merge filters

* refactor: merge current folder logic

* refactor: use find instead of filter
* runfix: address darkmode color values

* assign css variable for gray text
PatrykBuniX and others added 7 commits June 17, 2024 18:27
* feat: auto clear navigation search input on Escape press

* use onKeyDown
* feat: persist sidebar open/close state

* fix typo

* remove extra comments

* feat: handle very long folder names

* feat: folders empty state

* refactor: get rid of hook and make status 3 options
przemvs and others added 21 commits June 19, 2024 14:54
* chore: Update translations (#17619)

* chore: type safe icons (#17617)

* refactor: move svg provider to root util directory

* chore: typesafe config icons

* refactor: improve types

* chore: improve comment

* chore: update ignore files

* refactor: move typedEntries to array utils

* chore: fix action panel types

* refactor: simplify naming

* chore: conversation actions type

* chore: svg provider mocks type

* chore: context menu type

* chore: remove license from non-gh file

* chore: remove comment

* chore: generate react icons at build time (#17621)

* chore: Update translations (#17622)

* fix: Ephemeral message timer position (#17624)

* fix: revert classname for ephemeral message (#17625)

* fix: Improve asset downloading and caching (#17626)

* fix: Conversation scrolling stops loading following messages (#17627)

* fix: Conversation scrolling stops loading following messages

* improve types

* chore(deps): bump cakeinpanic/jira-description-action (#17629)

Bumps [cakeinpanic/jira-description-action](https://github.com/cakeinpanic/jira-description-action) from 0.8.1 to 0.9.0.
- [Release notes](https://github.com/cakeinpanic/jira-description-action/releases)
- [Changelog](https://github.com/cakeinpanic/jira-description-action/blob/master/CHANGELOG.md)
- [Commits](cakeinpanic/jira-description-action@v0.8.1...v0.9.0)

---
updated-dependencies:
- dependency-name: cakeinpanic/jira-description-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump pm2 from 5.4.0 to 5.4.1 in /server (#17630)

Bumps [pm2](https://github.com/Unitech/pm2) from 5.4.0 to 5.4.1.
- [Release notes](https://github.com/Unitech/pm2/releases)
- [Changelog](https://github.com/Unitech/pm2/blob/master/CHANGELOG.md)
- [Commits](Unitech/pm2@v5.4.0...v5.4.1)

---
updated-dependencies:
- dependency-name: pm2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump typescript from 5.4.5 to 5.5.2 in /server (#17631)

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.5 to 5.5.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](microsoft/TypeScript@v5.4.5...v5.5.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump webpack from 5.92.0 to 5.92.1 (#17632)

Bumps [webpack](https://github.com/webpack/webpack) from 5.92.0 to 5.92.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.92.0...v5.92.1)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/uuid from 9.0.8 to 10.0.0 (#17634)

Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid) from 9.0.8 to 10.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid)

---
updated-dependencies:
- dependency-name: "@types/uuid"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/node from 20.14.2 to 20.14.8 (#17635)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.14.2 to 20.14.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump cssnano from 7.0.2 to 7.0.3 (#17636)

Bumps [cssnano](https://github.com/cssnano/cssnano) from 7.0.2 to 7.0.3.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.3)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* runfix: make no common protocol message more generic (#17637)

* runfix: update icons

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Otto the Bot <[email protected]>
Co-authored-by: Thomas Belin <[email protected]>
Co-authored-by: Przemysław Jóźwik <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
chore: merge branch 'dev' into new-navigation
chore: merge branch 'dev' into new-navigation
…-9509) (#17673)

* runfix: set sidebar tab to 1on1 on starting a new conversation (WPB-9509)

* use the recent sidebar tab instead of directs

* switch to recent sidebar tab when opening connection requests
)

* feat: Address smaller UI issues in the new navigation (WPB-9694)

* remove rotation of the folder icon

* remove dev comment

* add title to create group button

---------

Co-authored-by: Virgile <[email protected]>
Co-authored-by: Virgile <[email protected]>
Copy link

sonarcloud bot commented Jul 3, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants