Convert header actions to new actions framework.
Review Request #12762 — Created Jan. 5, 2023 and submitted
This change updates our existing header "actions" (the account menu,
support menu, and follow menu) to use the new actions framework.
Verified look and behavior of the header in both desktop and mobile
modes.
Summary | ID |
---|---|
18f704adadff1850c5fe8b4db7b18784b6c0abdb |
Description | From | Last Updated |
---|---|---|
Add a version added. |
maubin | |
These should all have Version Added. |
chipx86 | |
This is so common that I wonder if we should have either a mixin or bake a flag into actions. |
chipx86 | |
Similarly, maybe it's worth having either a url_name property on the base action (which get_url can use along with local_site_reverse) … |
chipx86 | |
We're not really following via RSS, just giving a link to the news page. The naming might be best as … |
chipx86 | |
We should still give menus and menu items an explicit class name. We've been doing that for all spec'd parts … |
chipx86 | |
Extra blank line at the end of the file. |
chipx86 | |
To be safe, we should always use local_site_reverse for these, with the request/Local Site being passed in. There are some … |
chipx86 |
- Commits:
-
Summary ID 479dbeb79d3c102185e880de238ce16fadc3a614 8c430fbe4d8cb3143848864ca7dc387e70c33ed2 - Diff:
-
Revision 2 (+956 -260)
Checks run (2 succeeded)
-
-
-
-
Similarly, maybe it's worth having either a
url_name
property on the base action (whichget_url
can use along withlocal_site_reverse
) or a mixin, so actions are consistent in behavior by default? -
We're not really following via RSS, just giving a link to the news page. The naming might be best as just
FollowNewsAction
or something. -
We should still give menus and menu items an explicit class name. We've been doing that for all spec'd parts of a component.
-
- Commits:
-
Summary ID 8c430fbe4d8cb3143848864ca7dc387e70c33ed2 9226be952866f61028c6d981cd5ec29e97e9755f - Diff:
-
Revision 3 (+946 -260)
Checks run (2 succeeded)
- Change Summary:
-
Switch to local_site_reverse
- Commits:
-
Summary ID 9226be952866f61028c6d981cd5ec29e97e9755f 18f704adadff1850c5fe8b4db7b18784b6c0abdb - Diff:
-
Revision 4 (+950 -260)