Use usages on Plans&Upgrades to hint at best buy options
Testing with Drift (more incoming email than any plan allows!)
Excellent; made a couple of style related changes in https://github.com/shadow-dot-cat/runbox7/pull/10.
Couldn't get this to work yet and/or is still needed:
- The select buttons in the Our Recommended Plans area aren't being displayed.
- Couldn't get
plan.over_quota.lengthto work for the buttons in the "All Main Account Price Plans" area. - The
current_sub && current_sub.pid == plan.pidtest doesn't seem to work in order to display "Your current subscription".
Buttons not showing:
All plans without plan.over_quota.length test:
All plans with plan.over_quota.length test:
Fixed 2nd half - existing code seems to just change the theme on the button when its over quota, should it disable/disappear the button instead?
I think this is better with no buttons when over quota
(re-) Added:
- "Remove from cart" buttons
- management of subscriptions - can only add one subscription at a time!
- display of "under quota" plan columns are muted (palette changed)
Todo: [] - Disable buttons of items we can't buy, both under-quota items, and other-subscriptions (?)
Radio buttons would be a more semantic way to convey to the user that only one item can be selected. It would be the accessible thing to do. Maybe a future improvement.