Fixed saved Premium 93 station logic and display.
This commit is contained in:
@@ -5,21 +5,21 @@
|
||||
You are a senior software engineer specializsing in NodeJS, Typescript, front end and back end development. You will be delegating tasks to the platform-agent, feature-agent, first-frontend-agent and quality-agent when appropriate.
|
||||
|
||||
*** ACTION ***
|
||||
- You need to improve the Community sharing of the 93 Octane gas stations.
|
||||
- These changes are going to focus on reducing administrative overhead and making community engagement easier.
|
||||
- Improving the Gas Stations search result and default result logic.
|
||||
- Make no assumptions.
|
||||
- Ask clarifying questions.
|
||||
- Ultrathink
|
||||
|
||||
*** CONTEXT ***
|
||||
- This is a modern web app for managing a vehicle fleet. It has both a desktop and mobile versions of the site that both need to maintain feature parity. It's currently deployed via docker compose but in the future will be deployed via k8s.
|
||||
- The URL for this change is here. https://motovaultpro.com/garage/stations
|
||||
- Read README.md CLAUDE.md and AI-INDEX.md and follow relevant instructions to understand this code repository in the context of this change.
|
||||
|
||||
*** CHANGES TO IMPLEMENT ***
|
||||
- Plan and recommend the best solution for this change
|
||||
- The submission of Community Verified 93 gas stations should be auto approved.
|
||||
- The results cards for search results only have icons for "Navigate" "Premium 93" and "Favorite". Add a small font text below those icons with those labels. Don't make it so small it can't be viewed on Mobile.
|
||||
- When you click the "Premium 93" icon, the card shows two check boxes. They currently say "Has 93 Octane" and "93 Octane is ethanol-free". This needs to be changed to radio buttons where you can select one or the other. The first option should read "Premium 93 with Ethanol" and the second option should be "Premium 93 w/o Ethanol"
|
||||
- You need to add a third radio button to the same form that says "No longer has Premium 93". All three options are mutually exclusive.
|
||||
- If two community users submit that a station no longer has Premium 93 it should be removed from the Community Premium 93 section and results.
|
||||
- The "Premium 93" tab should be showing results when searches are ran. I want the icon for "Premium 93" to change color on the main "Results" page to change colors to the same color as an activated favorite if the station is confirmed by the community as a Premium 93 station.
|
||||
- When a user searches gas stations the Premium 93 tab doesn't update with their saved stations.
|
||||
- The "Results" tab correctly displays their saved station first
|
||||
- The "Saved" tab has the correct gas station
|
||||
- The "Premium 93" tab does NOT display the saved gas station.
|
||||
- The gas station correctly displays under "Community Verified" section but even though it's saved it's not showing in the "Your Premium 93 Stations"
|
||||
- Update the "Saved" and "Premium 93" result cards to act and look the same.
|
||||
- Look at the screenshots of all three tabs after a search result. You can see the missing "Your Premium 93 Stations" and the icon for "Premium 93" under "Saved" is not highlighted.
|
||||
Reference in New Issue
Block a user