Page MenuHomePhabricator

Patchdemo user can select "kubernetes" backend
Closed, ResolvedPublic3 Estimated Story Points

Description

AS a patchdemo user
GIVEN I have authenticated into patchdemo
WHEN I go to patchdemo
THEN I see a toggle to switch between the legacy and kubernetes (Catalyst) backend

WHEN I select the kubernetes backend
THEN I see all the options, extensions and skins greyed out except the ones supported by catalyst(†)
AND I see a banner at the top that reads "the Kubernetes (Catalyst) backend is currently experimental, and does not support every skin, extension, and option"(‡)

(†): at the time of writing

  • core
  • vector
  • timeless
  • thanks

(‡): this message should be internationalised if patchdemo supports internationalisation (i18n)

Note: this story does not require an actual deploy using catalyst

Details

TitleReferenceAuthorSource BranchDest Branch
Fix bug checking catalyst reposrepos/qte/catalyst/patchdemo!8jhuneidiT364747master
Add backend checkboxrepos/qte/catalyst/patchdemo!7jhuneidiT364747master
Customize query in GitLab

Event Timeline

thcipriani triaged this task as Medium priority.May 13 2024, 4:52 PM
thcipriani set the point value for this task to 3.
thcipriani edited projects, added Catalyst (MVP Eftersome 🥉); removed Catalyst.
thcipriani moved this task from Backlog to Ready on the Catalyst (MVP Eftersome 🥉) board.

Adding a checkbox to index.php .

OOUI should have an option to add data to a checkbox, but has to be a string or a number. Instead adding data/functionality into index.js seems like the path.

Function options:

  1. Make a request via the catalyst api to get a list of skins and extensions
  2. Hard code that somewhere
thcipriani changed the task status from Open to In Progress.May 21 2024, 5:18 PM
thcipriani moved this task from Backlog to In progress on the Catalyst (Acersecomicke 🐑) board.

Getting a php error currently:

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /var/www/html/index.php:81 Stack trace: #0 {main} thrown in /var/www/html/index.php on line 81