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

Feature/new design system #623

Merged
merged 8 commits into from
Jun 21, 2024
Merged

Feature/new design system #623

merged 8 commits into from
Jun 21, 2024

Conversation

KevinEtchells
Copy link
Contributor

Context

Phase 1 of implementing the new i.AI design system.

The actual design system code lives at https://github.com/i-dot-ai/design-system

This PR is marked as a draft at the moment as this will almost certainly break some tests, which will need looking at before it's ready to deploy.

What this is:

  • An MVP, to apply the new "look and feel" to Redbox
  • Quickly built, but hopefully to an acceptable standard
  • A baseline for us to quickly iterate upon

What this isn't:

  • An exact implementation of Charlotte's designs yet
  • A comprehensive design system (yet)
  • Perfectly formed and tidy (this will be worked on)

Guidance to review

This could do with a few eyes on it, across all pages, to check the following:

  • Are there any bugs?
  • Is there anything that looks bad?
  • Is there anything which is a clear regression or shouldn't go out to users before addressing?

We will definitely be interested in more detailed feedback for future iteration, but keen to just focus on what we need to do to get this baseline version over the line this week.

def _doc_from_element(element: Locator) -> DocumentRow:
filename = element.locator(".iai-doc-list__cell--file-name").inner_text()
status = element.locator("file-status").inner_text()
return DocumentRow(filename=filename, status=status)
Copy link
Contributor

Choose a reason for hiding this comment

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

Very nice!

@KevinEtchells KevinEtchells marked this pull request as ready for review June 21, 2024 08:54
Copy link
Contributor

@brunns brunns left a comment

Choose a reason for hiding this comment

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

LGTM.

@KevinEtchells KevinEtchells merged commit ed4799a into main Jun 21, 2024
7 checks passed
@KevinEtchells KevinEtchells deleted the feature/new-design-system branch June 21, 2024 09:21
expires=expires,
status=status,
)
for filename, uploaded_at, expires, status, action in batched(cell_texts, 5)
Copy link
Contributor

Choose a reason for hiding this comment

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

We probably don't need the batched() function any more.

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