Skip to content

Dark theme: AMAP - #675

Merged
Rausterr merged 8 commits into
dark/corefrom
dark/amap
May 26, 2026
Merged

Dark theme: AMAP#675
Rausterr merged 8 commits into
dark/corefrom
dark/amap

Conversation

@Marc-Andrieu

@Marc-Andrieu Marc-Andrieu commented May 3, 2026

Copy link
Copy Markdown
Member

Description

Summary

See #671

NB: many color declarations will have to be removed (dead code) or renamed to match again their actual use for maintainability.
PS: not a big fan of the color combination on screenshot n°2 (the rest is fine, legible text, good contrasts like in the light theme)

image image image image image image image image

Required PRs

Depends on #671

Changes Made

  • amap
    • components
      • order_ui
      • product_ui
    • pages
      • admin_page
        • account_handler
        • adding_user
        • adding_user_container
        • admin_page
        • cash_container
        • delivery_handler
        • delivery_ui
        • product_handler
        • user_cash_ui_layout
        • user_cash_ui
      • delivery_pages
        • add_edit_delivery_cmd_page
        • product_ui_check
      • detail_delivery_page
        • detail_page
        • order_detail_ui
        • product_detail_ui
      • detail_page
      • list_products_page
        • category_page
        • list_products_page
        • list_products
        • page_view_dots
        • product_choice_button
        • product_ui_list
        • web_page_navigation_button
      • main_page
        • collection_slot_selector
        • delivery_section
        • delivery_ui
        • main_page
        • orders_section
      • presentation_page
      • product_pages
    • amap

Additional Notes

Classification

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 🔨 Refactor (non-breaking change that neither fixes a bug nor adds a feature)
  • 🔧 Infra CI/CD (changes to configs of workflows)
  • 💥 BREAKING CHANGE (fix or feature that require a new minimal version of the front-end)
  • 😶‍🌫️ No impact for the end-users

Impact & Scope

  • Core functionality changes
  • Single module changes
  • Multiple modules changes
  • Other: ...

Testing

  • 1. Tested this locally
  • 2. Added/modified tests that pass the CI (or tested in a downstream fork)
  • 3. Tested in a local client using a pre-prod backend
  • 0. Untestable (exceptionally), will be tested in prod directly

Documentation

  • Updated the docs accordingly :
  • // Comments
  • No documentation needed

@Marc-Andrieu Marc-Andrieu self-assigned this May 3, 2026
@Marc-Andrieu Marc-Andrieu added enhancement New feature or request ready for review This PR is ready to be reviewed amap labels May 3, 2026
@Marc-Andrieu Marc-Andrieu changed the title Dark theme: advert Dark theme: AMAP May 3, 2026
@codecov-commenter

codecov-commenter commented May 3, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 23 lines in your changes missing coverage. Please review.
✅ Project coverage is 50.61%. Comparing base (23ec27f) to head (64aa338).

Files with missing lines Patch % Lines
lib/amap/tools/constants.dart 0.00% 23 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##           dark/core     #675      +/-   ##
=============================================
- Coverage      50.87%   50.61%   -0.27%     
=============================================
  Files            169      169              
  Lines           3819     3839      +20     
=============================================
  Hits            1943     1943              
- Misses          1876     1896      +20     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Marc-Andrieu
Marc-Andrieu marked this pull request as ready for review May 5, 2026 18:09
@Marc-Andrieu
Marc-Andrieu force-pushed the dark/amap branch 3 times, most recently from b834060 to b0a6106 Compare May 10, 2026 17:26

@Rausterr Rausterr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍 Great job

@Rausterr
Rausterr merged commit dd9a594 into dark/core May 26, 2026
3 checks passed
@Rausterr
Rausterr deleted the dark/amap branch May 26, 2026 23:55
Marc-Andrieu added a commit that referenced this pull request Aug 7, 2026
# Description

## Summary

<!--BRIEF description: DON'T EXPLAIN the code: JUSTIFY what this PR is
for!-->

See #671

NB: many color declarations will have to be removed (dead code) or
renamed to match again their actual use for maintainability.
PS: not a big fan of the color combination on screenshot n°2 (the rest
is fine, legible text, good contrasts like in the light theme)

<img height="400" alt="image"
src="https://github.com/user-attachments/assets/98baf029-448c-4bc2-81eb-00eb8f89a011"
/>
<img height="400" alt="image"
src="https://github.com/user-attachments/assets/87061203-988e-4cf7-bc91-f19cc13b7e2f"
/>
<img height="400" alt="image"
src="https://github.com/user-attachments/assets/9ade49ab-db8a-48d9-8297-bf312c52d4ac"
/>
<img height="400" alt="image"
src="https://github.com/user-attachments/assets/95b23647-f2a7-448a-89e9-32315830f1c5"
/>
<img height="400" alt="image"
src="https://github.com/user-attachments/assets/10d6db89-2e13-4de5-bae7-4f831520b0b1"
/>
<img height="400" alt="image"
src="https://github.com/user-attachments/assets/24833a4a-1a56-479e-a164-9e7d4aa5fc80"
/>
<img height="400" alt="image"
src="https://github.com/user-attachments/assets/4babd9dd-0152-4f83-a4cd-8a7019cfaf83"
/>
<img height="400" alt="image"
src="https://github.com/user-attachments/assets/41d6ca21-e688-48c2-a13b-a3b4b38288da"
/>


## Required PRs

Depends on #671 

## Changes Made

<!--DESCRIBE the changes: tell the BIG STEPS, use a CHECKLIST to show
progress. You can explain below how the code works.-->

- [x] amap
  - [x] components
    - [x] order_ui
    - [x] product_ui
  - [x] pages
    - [x] admin_page
      - [x] account_handler
      - [x] adding_user
      - [x] adding_user_container
      - [x] admin_page
      - [x] cash_container
      - [x] delivery_handler
      - [x] delivery_ui
      - [x] product_handler
      - [x] user_cash_ui_layout
      - [x] user_cash_ui
    - [x] delivery_pages
      - [x] add_edit_delivery_cmd_page
      - [x] product_ui_check
    - [x] detail_delivery_page
      - [x] detail_page
      - [x] order_detail_ui
      - [x] product_detail_ui
    - [x] detail_page
    - [x] list_products_page
      - [x] category_page
      - [x] list_products_page
      - [x] list_products
      - [x] page_view_dots
      - [x] product_choice_button
      - [x] product_ui_list
      - [x] web_page_navigation_button
    - [x] main_page
      - [x] collection_slot_selector
      - [x] delivery_section
      - [x] delivery_ui
      - [x] main_page
      - [x] orders_section
    - [x] presentation_page
    - [x] product_pages
  - [x] amap

## Additional Notes

<!--Anything relevant that does not quite fit in the summary-->

<!--Don't touch these two tags-->
<details>
<summary>

# Classification

</summary>

## Type of Change

- [ ] 🐛 Bug fix (non-breaking change which fixes an issue)
- [x] ✨ New feature (non-breaking change which adds functionality)
- [x] 🔨 Refactor (non-breaking change that neither fixes a bug nor adds
a feature)
- [ ] 🔧 Infra CI/CD (changes to configs of workflows)
- [ ] 💥 BREAKING CHANGE (fix or feature that require a new minimal
version of the front-end)
- [ ] 😶‍🌫️ No impact for the end-users

## Impact & Scope

- [ ] Core functionality changes
- [x] Single module changes
- [ ] Multiple modules changes
- [ ] Other: ... <!--Not module-oriented: write something!-->

## Testing

- [x] 1. Tested this locally
- [ ] 2. Added/modified tests that pass the CI (or tested in a
downstream fork)
- [ ] 3. Tested in a local client using a pre-prod backend
- [ ] 0. Untestable (exceptionally), will be tested in prod directly

## Documentation

- [ ] Updated [the docs](docs.myecl.fr) accordingly : <!--[Docs#0 -
Title](https://github.com/aeecleclair/myecl-documentation/pull/0)-->
- [ ] `//` Comments
- [ ] No documentation needed

</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

amap enhancement New feature or request ready for review This PR is ready to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants