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

Custom applicant dashboard header #3587

Merged
merged 1 commit into from
Nov 6, 2023
Merged

Conversation

sandeepsajan0
Copy link
Member

Updated the applicant dashboard header as per the latest designs.

Current version(old):
image

Updated version(latest):
image

Used a custom code instead of admin bar component because needed custom implementation that is different from other or common admin bars(headers)

@sandeepsajan0 sandeepsajan0 marked this pull request as ready for review September 30, 2023 11:23
@sandeepsajan0 sandeepsajan0 requested review from theskumar and frjo and removed request for theskumar September 30, 2023 11:23
@theskumar
Copy link
Member

Used a custom code instead of admin bar component because needed custom implementation that is different from other or common admin bars(headers)

Can you share some info on it, it see it being fundamentally same. I agree the rest of the admin bar will update as a result of this, but it's that expected here?

@frjo frjo added the Status: RTBC Internal Dev use only label Oct 3, 2023
@sandeepsajan0
Copy link
Member Author

As per the latest designs, almost all the headings are centered except applicant dashboard.
image

image

So, we can keep the admin bar component text-centered, and as it is just one place so can have a custom code like submission and project detail pages.

@frjo frjo added Type: Enhancement This is an improvement of an existing thing (not a new thing, which would be a feature). Type: Patch Mini change, used in release drafter labels Oct 3, 2023
@theskumar
Copy link
Member

We should able to pass an extra parameter align= to check how we want the headers to be displayed, and can default it to be center at a later sage. I can take a look at structuring the admin-bar a better.

frjo pushed a commit that referenced this pull request Oct 16, 2023
Fixes #3588

Increase the font-weight on the heading in the admin bar. The
application details and project detail doesn't use the admin bar so
updated the font weight on it separately.

The are other pages that doesn't still use admin-bar web component.
They'll get the same treatment once admin-bar component is used in them.
I'll try to convert more pages to use the admin-bar in this PR.

- [x] Review edit page
- [x] Review detail page
- [x] Add Review page

Related #3587
@frjo
Copy link
Member

frjo commented Oct 16, 2023

@sandeepsajan0 We have merged in everything on test now to main so this can be rebased.

@sandeepsajan0 sandeepsajan0 force-pushed the enhancement/applicant-header branch from 60b3c09 to 65a1446 Compare October 26, 2023 05:57
@frjo frjo added the Status: Needs testing Tickets that need testing/qa label Oct 26, 2023
@frjo frjo added Status: Tested - approved for live ✅ and removed Status: Needs testing Tickets that need testing/qa Status: RTBC Internal Dev use only labels Nov 6, 2023
@frjo frjo merged commit a84c939 into main Nov 6, 2023
theskumar added a commit that referenced this pull request Nov 7, 2023
* main:
  Custom applicant dashboard header (#3587)
  Upgrade wagtail to 5x (#3627)
  Upgrade to Django 4.1.x (#3398)
  docs: update the links to images and some references to pages (#3641)
  Update the query text on all.html (#3638)
  Update to  django-3.2.23. (#3637)
@theskumar theskumar deleted the enhancement/applicant-header branch February 7, 2024 11:04
wes-otf pushed a commit that referenced this pull request May 7, 2024
Fixes #3588

Increase the font-weight on the heading in the admin bar. The
application details and project detail doesn't use the admin bar so
updated the font weight on it separately.

The are other pages that doesn't still use admin-bar web component.
They'll get the same treatment once admin-bar component is used in them.
I'll try to convert more pages to use the admin-bar in this PR.

- [x] Review edit page
- [x] Review detail page
- [x] Add Review page

Related #3587
wes-otf pushed a commit that referenced this pull request May 7, 2024
Updated the applicant dashboard header as per the latest designs.

Used a custom code instead of admin bar component because needed custom
implementation that is different from other or common admin
bars(headers)
wes-otf pushed a commit that referenced this pull request May 8, 2024
Fixes #3588

Increase the font-weight on the heading in the admin bar. The
application details and project detail doesn't use the admin bar so
updated the font weight on it separately.

The are other pages that doesn't still use admin-bar web component.
They'll get the same treatment once admin-bar component is used in them.
I'll try to convert more pages to use the admin-bar in this PR.

- [x] Review edit page
- [x] Review detail page
- [x] Add Review page

Related #3587
wes-otf pushed a commit that referenced this pull request May 8, 2024
Updated the applicant dashboard header as per the latest designs.

Used a custom code instead of admin bar component because needed custom
implementation that is different from other or common admin
bars(headers)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Tested - approved for live ✅ Type: Enhancement This is an improvement of an existing thing (not a new thing, which would be a feature). Type: Patch Mini change, used in release drafter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants