Skip to content

Conversation

@angarita-dev
Copy link
Contributor

@angarita-dev angarita-dev commented Mar 31, 2025

Why?

  • Adds new AuthButton using externally styled Button & internally defined base for the dropdown & avatar marble

How?

  • 03190d0 : Updated Readme env var names
  • 7dac5a4 : Removed building .css as text & used a simple multiline string for dynamic css override See Dynamic docs
  • 91a37a9 : Moved build system to vite: REVERTED
  • d844742 : Brings required utils for dropdown & general UI rendering (from agents-ui)
  • 711731a : Adds base UI elements

☝️ We could benefit from the monorepo here & reuse ui + tailwind presets

  • c078f64 : Adds AuthButton
  • e6800b7 : Reverted vite introduction
  • b741ee3 : Added base tailwind configuration
  • 23b3e78 : Replaced custom token naming from elz-

Tickets?

fixes PLAT-2505

Contribution checklist?

  • The commit messages are detailed
  • The build command runs locally
  • Assets or static content are linked and stored in the project
  • Document filename is named after the slug
  • You've reviewed spelling using a grammar checker
  • For documentation, guides or references, you've tested the commands and steps
  • You've done enough research before writing

Security checklist?

  • Sensitive data has been identified and is being protected properly
  • Injection has been prevented (parameterized queries, no eval or system calls)
  • The Components are escaping output (to prevent XSS)

References?

Optionally, provide references such as links

Notes

  • Initially tried to handle bundling using vite, however kept getting errors along the lines of:

astro:vite Error when evaluating SSR module /src/components/Navbar/index.tsx: failed to import "@fleek-platform/login-button"
astro:vite |- ReferenceError: self is not defined

  • Haven't been able to figure out tailwind building, we could either go the postcss route or solve previously described issue and move to vite.

Preview?

See Website implementation -> fleek-platform/website#600
See agents-ui implementation -> https://github.com/fleek-platform/agents-ui/pull/255

@angarita-dev angarita-dev self-assigned this Mar 31, 2025
@changeset-bot
Copy link

changeset-bot bot commented Mar 31, 2025

⚠️ No Changeset found

Latest commit: 23b3e78

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@punkbit
Copy link
Contributor

punkbit commented Apr 30, 2025

⚠️ Closed to favour #28

@punkbit punkbit closed this Apr 30, 2025
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.

3 participants