GithubHelp home page GithubHelp logo

planbgmbh / flinkey-web-components Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 0.0 954 KB

This project provides some Web Components built for usage in combination with the flinkey API.

License: MIT License

CSS 0.39% TypeScript 91.93% HTML 3.22% JavaScript 4.46%
custom-elements flinkey flinkey-api jest-tests puppeteer rest-api stencil tailwindcss tsx typescript ui-components web-components witte-digital

flinkey-web-components's People

Contributors

aaronczichon avatar bhuber-planb avatar dependabot[bot] avatar roswerk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

flinkey-web-components's Issues

Integrate ESLint in project and run command in workflows

Is your feature request related to a problem? Please describe.
Actually only Prettier is used in the project. Therefore several "code issues" can still occur. E.g. lines in files that are too long.

Describe the solution you'd like
As a flinkey Web Components contributor, I would like to have ESLint integrated in the project and workflows so that code is formatted accordingly.

Additional context
Stencil ESLint

Fix Tailwind integration with proper packages

Describe the bug
With the current Tailwind configuration, not all functionalities are working. Re-configuration of the Stencil and Tailwind files are needed in order to use all possible features that Tailwind offers.

To Reproduce
Steps to reproduce the behavior:
None

Expected behavior
When using Tailwind on the project, we should have access to all possible functionalities.

Screenshots
None

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
No additional context

Provide some kind of try it page with documentation of the web components

Is your feature request related to a problem? Please describe.
No, it is not.

Describe the solution you'd like
As a flinkey Web Components consumer, I would like to have the possibility to try the web components out and I would like to have good documentation provided as Storybook. The Storybook should be available threw GitHub pages which is deployed via Build & Publish workflow.

Additional context
Storybook
GitHub Pages
Build & Publish workflow

Give the possibility to install/uninstall product to/from car

Is your feature request related to a problem? Please describe.
No, it's not.

Describe the solution you'd like
As a flinkey integration partner I want to have the possibility to easily integrate install/uninstall product to/from car into my solution without building entire new UI for it.

Additional context
flinkey API Endpoints we need to use:

Set GitHub release date via workflow

Is your feature request related to a problem? Please describe.
No, it is not.

Describe the solution you'd like
The Build & Publish workflow should set the date for the new GitHub release.

Additional context
See workflow file.

Table components should support sortable columns

Is your feature request related to a problem? Please describe.
I may want to view the table by e.g. descending serial number.

Describe the solution you'd like
As a flinkey Web Components consumer, I would like to have the possibility to sort by columns of the table (ascending and descending). Note: the developer integrating the component should have the option to enable or disable the sorting functionality.

Additional context
Bildschirmfoto 2022-02-14 um 16 13 32

Branch name validation

Is your feature request related to a problem? Please describe.
No, it is not.

Describe the solution you'd like
As a flinkey Web Components contributor, I would like to make sure to have a branch with proper name created. Therefore I would like to have branch name validation included into PR validation workflow.

Additional context
See workflow file.

Make sure changelog content changed and has valid format

Is your feature request related to a problem? Please describe.
No, it is not.

Describe the solution you'd like
The PR Validation workflow should make sure the changelog file's content has changed and has expected content format.

Additional context
Changelog
PR validation workflow
Format:

## Added

- ...
- ...
- ...

## Changed

- ...
- ...
- ...

## Fixed

- ...
- ...
- ...

## Removed

- ...
- ...
- ...

[Link to GitHub issue](https://github.com/PlanBGmbH/flinkey-web-components/issues/<issue-number>)

Extend keywords in package.json

Is your feature request related to a problem? Please describe.
No, it is not.

Describe the solution you'd like
As a flinkey Web Components consumer, I would like to see same keywords in package.json and on GitHub repo start page.

Additional context
No additional context.

Dependabot pull requests should be correctly handled by validation workflow

Describe the bug
Dependabot creates pull requests that bump version(s) of web components package dependency/ies but it doesn't also bump version of web components itself. Therefore validation workflow ends up with an error.

Expected behavior
We should only do web components version validation when workflow is not triggered by Dependabot.

Give the possibility to assign/unassign service to/from product

Is your feature request related to a problem? Please describe.
No, it's not.

Describe the solution you'd like
As a flinkey integration partner I want to have the possibility to easily integrate assign/unassign service to/from product into my solution without building entire new UI for it.

Additional context
flinkey API Endpoints we need to use:

Build & Publish workflow does not correctly set GitHub release description

Describe the bug
When the Build & Publish workflow creates a GitHub release, the content of the created GitHub release is not correct when there is for example a backtick in the markdown of the changelog file.

To Reproduce
Steps to reproduce the behavior:

  1. Run all jobs of a Build & Publish workflow run
  2. Go to Releases
  3. See latest release description -> difference between changelog file content and GitHub release description (if changelog file contains a backtick)

Expected behavior
The Build & Publish workflow should correctly copy the entire changelog file's content to the GitHub release description.

Screenshots
No screenshots.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
See workflow file.

Update all project dependencies

Update all project dependencies (node version in pipeline and NPM packages of Stencil project). Also fix vulnerabilities.

Table components should support filtering (global contains filter)

Is your feature request related to a problem? Please describe.
If there are lots of products, I need to search for the entry I'm looking for manually via scrolling threw the pages of the table.

Describe the solution you'd like
As a flinkey Web Components consumer, I would like to have the possibility to globally search over all fields of the table. Note: the developer integrating the component should have the option to enable or disable the contains filter functionality.

Additional context
image

Write a meaningful README

Is your feature request related to a problem? Please describe.
No, it's not.

Describe the solution you'd like
As a flinkey integration partner I would like to have a collection of basic project information in the README. The README should therefore consist of the following information:

  • Include Build & Publish pipeline status badge
  • MIT license badge
  • NPM version badge
  • Give brief introduction to the project
  • Give usage introduction (use keyfob catalog component as an example)

Additional context
There's no additional context.

Integration example for React

Is your feature request related to a problem? Please describe.
No, it is not.

Describe the solution you'd like
As a flinkey Web Components consumer, I would like to have an example of how to integrate the flinkey Web Components into a React application.

Additional context
There's not additional context.

E2E tests of GitHub Actions workflows do not run stable

Describe the bug
Sometimes in GitHub Actions workflows (Validate and Build & Release) the E2E test step fails due to invalid JSON that could not be parsed.

To Reproduce
Not reproducible. The error just sometimes occurs.

Expected behavior
E2E tests are able to parse JSON and then run properly.

Screenshots
Bildschirmfoto 2021-06-01 um 10 44 17

Reduce license occurrences in README

Is your feature request related to a problem? Please describe.
No, it is not.

Describe the solution you'd like
As a flinkey Web Components consumer, I would like to have a reduced amount of license occurrences in README file. The license badge should link to GitHub repository LICENSE file.

Additional context
There's no additional context.

Provide possibility to override static texts of the web components

Is your feature request related to a problem? Please describe.
No, it is not.

Describe the solution you'd like
As a flinkey Web Components consumer, I would like to have the possibility to provide custom texts for static text resources (e.g. table headers) to the web components.

Additional context
There's no additional context.

Add Tailwind to existing Stencil Project

Is your feature request related to a problem? Please describe.
No, it's not.

Describe the solution you'd like
As a project maintainer and/or contributor, I'd like to use TailwindCSS as a CSS framework, in order to style my components in an organized, scalable and fast way.

Additional context
There's no additional context.

Set used node and npm version in package.json

Is your feature request related to a problem? Please describe.
No, it is not.

Describe the solution you'd like
As a contributor of the flinkey Web Components, I would like to see in package.json which node and npm versions I should use.

Additional context
See npm Docs

Add common basic code to make developer's life easier

Is your feature request related to a problem? Please describe.
No, it is not.

Describe the solution you'd like
As flinkey Web Components contributor, I would like to have access to basic common setup:

  • Globals TS class
  • Shared Tailwind CSS file
  • fetch API wrappers

Additional context
There's no additional context.

Table components should support pagination

Is your feature request related to a problem? Please describe.
If there are lots of entries to load this would slow down the component.

Describe the solution you'd like
As a flinkey Web Components consumer, I would like to have the possibility to view paginated entries so that the performance of the table is good. Note: the developer integrating the component should have the option to enable or disable the pagination functionality.

Additional context
Bildschirmfoto 2022-02-14 um 16 12 13

Give the possibility to show Keyfob catalog

Is your feature request related to a problem? Please describe.
No, it's not.

Describe the solution you'd like
As a flinkey integration partner I want to have the possibility to easily integrate the Keyfob catalog into my solution without building entire new UI for it.

Additional context
flinkey Box -> Click on button "KEYFOB OVERVIEW"
Get brands
Get keys of brand

Integration example for Angular

Is your feature request related to a problem? Please describe.
No, it is not.

Describe the solution you'd like
As a flinkey Web Components consumer, I would like to have an example of how to integrate the flinkey Web Components into an Angular application.

Additional context
There's not additional context.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.