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: Skip landscape page #997

Merged
merged 10 commits into from
Dec 11, 2024
Merged

feat: Skip landscape page #997

merged 10 commits into from
Dec 11, 2024

Conversation

ashuntu
Copy link
Collaborator

@ashuntu ashuntu commented Dec 5, 2024

This a fairly large PR since there are a few moving pieces to adding this page. The existing Landscape page needs its skip functionality removed, the skip page uses an updated version of copy, the skip page uses an entirely new layout, etc.

I plan on expanding the use of reusable navigation and other layout widgets since the new designs will be much more consistent across pages. Notably, when I reorganize the Landscape page, we can unify a lot of the navigation and tile widgets.

Screenshot of the new page


UDENG-5287

This is quite a large commit since there are a lot of moving pieces. The existing Landscape page needs its skip functionality removed, the skip page uses an updated version of copy, the skip page uses an entirely new layout, etc.

I plan on expanding the use of reusable navigation and other layout widgets since the new designs will be much more consistent across pages.
@ashuntu ashuntu self-assigned this Dec 5, 2024
Copy link

codecov bot commented Dec 5, 2024

Codecov Report

Attention: Patch coverage is 98.75000% with 1 line in your changes missing coverage. Please review.

Project coverage is 89.40%. Comparing base (9aca9a1) to head (6d52573).
Report is 42 commits behind head on main.

Files with missing lines Patch % Lines
.../lib/pages/landscape_skip/landscape_skip_page.dart 96.29% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #997      +/-   ##
==========================================
+ Coverage   89.20%   89.40%   +0.20%     
==========================================
  Files         110      113       +3     
  Lines        7520     7618      +98     
==========================================
+ Hits         6708     6811     +103     
+ Misses        633      631       -2     
+ Partials      179      176       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Also modifies the existing test for the SubscribeNow page's
launcher to unify the launcher mocks.
@ashuntu ashuntu marked this pull request as ready for review December 5, 2024 23:42
@ashuntu ashuntu requested a review from a team as a code owner December 5, 2024 23:42
Copy link
Contributor

@CarlosNihelton CarlosNihelton left a comment

Choose a reason for hiding this comment

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

This is going pretty well. I think we have some details to address, but otherwise looking good.

gui/packages/ubuntupro/lib/l10n/app_en.arb Outdated Show resolved Hide resolved
gui/packages/ubuntupro/lib/l10n/app_en.arb Outdated Show resolved Hide resolved
gui/packages/ubuntupro/lib/app.dart Outdated Show resolved Hide resolved
Copy link
Contributor

@CarlosNihelton CarlosNihelton left a comment

Choose a reason for hiding this comment

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

Just some details on the navigation row and one import to make absolute, otherwise LGTM. Good job!

@ashuntu ashuntu merged commit d5ce322 into main Dec 11, 2024
35 checks passed
@ashuntu ashuntu deleted the skip-landscape-page branch December 11, 2024 17:58
ashuntu added a commit that referenced this pull request Dec 11, 2024
Adds a border to the radio tiles, as well as a background to unselected
tiles.

| | Dark | Light |
|-|------|-------|
| Existing |
![image](https://github.com/user-attachments/assets/2ef62668-b341-48b0-b263-4bfdd0283393)
|
![image](https://github.com/user-attachments/assets/1c91dcf4-d825-47f7-8708-1c15a75d4273)
|
| New |
![image](https://github.com/user-attachments/assets/584b61e2-19c1-4657-aa3c-349ed98008b9)
|
![image](https://github.com/user-attachments/assets/72094385-06c9-46ca-b00e-bf1a8c223fa9)
|

This is also based on
#997 and relies on
it being merged first.

---

UDENG-5593
ashuntu added a commit that referenced this pull request Dec 17, 2024
Restructures the Landscape page to use the 2 column layout. This comes
with quite the large side effect of combining the SaaS and self-hosted
configurations into a single set of fields, so there are quite a lot of
changes here to support that.


![image](https://github.com/user-attachments/assets/3b3ba688-ed4f-4807-950c-b9a01cd7b73b)

*This is based on and relies on
#997 being merged
first.*

---

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

Successfully merging this pull request may close these issues.

2 participants