@rolemodel/tailored-select

0.0.4 • Public • Published

Overview

Name and aliases

The project is named Tailored Select. Some will refer to it as Bob Select or Yoinker™️.

Purpose

Tailored Select is a Web Component built to be a searchable select box. Inspired by tom-select.js to provide a framework agnostic autocomplete widget with native-feeling keyboard navigation. Useful for tagging, contact lists, etc.

Technologies

Chosen

  • Web Components As the foundational technology.
  • Lit for easily creating Web Components.
  • Vite for a fast development environment that handles developing, building, and publishing the project.

Technology relationships

  • Web Component
  • Simple Form Component (TODO: link to rolemodel rails)
  • Capybara test helper (TODO: link to rolemodel rails)
  • Optics addon (TODO: link to optics)

Supported browsers

This project is supported in all modern browsers.

How to set up the project

External tool installation

yarn install

How to run locally

yarn vite

How to run tests

TODO: Add tests

Editor plugins

  • TODO: Maybe add prettier?

Testing Strategy

Unit tests

Due to the nature of this application, unit tests are prominent and handle most of the confidence building and documentation needs of the system below the user interface.

Testing tools

TODO: Which tools are we using?

Branching strategy

To begin a new feature run, git checkout -b <branchname>. When finished with the feature and the code has been reviewed, the commits should be squashed before merging. See RoleModel Best Practices for more information.

Deployment

A Github Action is set up to build and deploy the project to NPM and Github packages. The deployment uses the main branch and is triggered by creating a release.

Local build

To build the project locally, run yarn build.

Copyright & licensing

Copyright (c) 2024 Open Source @RoleModel Software

Package Sidebar

Install

npm i @rolemodel/tailored-select

Weekly Downloads

6

Version

0.0.4

License

MIT

Unpacked Size

34.3 kB

Total Files

5

Last publish

Collaborators

  • outlawandy
  • braden-077
  • jeremywalton
  • rolemodel-it-support