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

feat: LEAP-1454: Custom action buttons in LSF #6411

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Commits on Sep 19, 2024

  1. LEAP-1454: Add CustomButton store to AppStore

    Simple declarative store to describe custom buttons.
    Plus universal handler to handle any button depending on its type.
    hlomzik committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    ee6b817 View commit details
    Browse the repository at this point in the history
  2. Define some exerpt of types for our stores

    Main stores are covered with some popular props and methods:
    AppStore, AnnotationStore, Annotation
    hlomzik committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    7b40834 View commit details
    Browse the repository at this point in the history
  3. Add custom buttons to BottomBar

    They will fully substitute all other buttons for now.
    Later we'll add some other buttons specified in custom buttons config.
    hlomzik committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    59c59fe View commit details
    Browse the repository at this point in the history
  4. Reuse internal button if its name is used in custom buttons

    This allows to mix custom buttons with internal ones.
    hlomzik committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    aa08932 View commit details
    Browse the repository at this point in the history
  5. Remove unused component

    hlomzik committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    ae1db05 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Fix types in Controls.tsx

    - look for Submit is primary as a fallback value, because it has no secondary
    - Button now have a `mod` property from Block, should be infered, but that's for later
    - Dropdown pointing to a correct component with additional property
    - the rest are just added types or direct type casts
    hlomzik committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    255f6e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e56d10 View commit details
    Browse the repository at this point in the history