Files
gerrit/polygerrit-ui/app/constants
Tao Zhou 4fd32d5e7c Support deep linking on tabs
This change includes:
1. added shared constants folder for constants and messages
2. refactor the change-view page on switching tab behavior
3. replace hardcoded logic for findings tab in gr-thread-list
with emptyThreadMsg
4. add a new middleware in gr-router to parse the querystring
to queryMap
5. allow active primary tab and secondary tab with url param

A follow up change will support auto-update on url once tab switched,
and also use the link in other places like submit dialog,
this change itself should not affect any existing flow without the
follow up change.

Change-Id: I63e03a9acfb5ebab87fe8c256dcc027abfa876ea
2020-04-06 17:23:10 +02:00
..
2020-04-06 17:23:10 +02:00
2020-04-06 17:23:10 +02:00
2020-04-06 17:23:10 +02:00

constants folder should contain:

  1. constants used across files
  2. messages used across files, like toasters, notifications etc

For every constant defined, please add a @desc for it, once the list grows bigger, we should consider grouping them with sub folders / files.