Git Product home page Git Product logo

ocean-web's People

Contributors

andrevitorvalle avatar andrevvalle avatar cicatrizdev avatar danimuller20 avatar dazoblu avatar dependabot-preview[bot] avatar dependabot[bot] avatar edu2711 avatar eltongarbin avatar fabiorolin avatar fabricio-anciaes avatar gabrielfn avatar galvaodev avatar joaopedrorc avatar juaopedrosilva avatar laurolyra avatar leonardoalemax avatar leonardodouradol avatar lpeil avatar lthomaz avatar saulosilva avatar snyk-bot avatar uilianm avatar willoliveira avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ocean-web's Issues

Create Circular Progress Indicator component

We need a Circular Progress Indicator component that will be used in the Primary Buttons, for example.
Follow this handoff: https://www.figma.com/file/PgLv9k22CHHZZ867HwN65y/%E2%9D%96-Ocean-DS-Core-Components?node-id=3348%3A30504

It needs to have both Determinate and Intederminate variations.
Reference: https://material-ui.com/components/progress/#progress and https://material.io/components/progress-indicators#circular-progress-indicators

At some point, we might need the Linear Progress, so the Circular should be a type of Progress Indicator.
Progress Indicator
↳ Circular
↳ Determinate
↳ Indeterminate
Linear (in the future)

Center component on canvas

It's not a bug actually, it's an improvement :)
I need the components to be centered on canvas by default (buttons, checkbox, switch, etc).

Does not apply to the Grid component, it's okay as it is.

Enhancements on the Storybook Page

I want to make the following enhancements on our Storybook page: https://www.figma.com/proto/HGymQjcMDy8BBn984dfjPt/Zeroheight?page-id=714%3A4141&node-id=714%3A4142&viewport=257%2C48%2C0.34&scaling=scale-down (this is some tweaks i have made using the Inspect feature on Chome, lol)

Also, it would be great to have a Cover on it as well, like this https://storybook.jota.meiuca.co/?path=/story/welcome--welcome. I'll provide the image, just need to figure out the size of it.

Top Bar / Adjustments (Web)

We need to make a few adjustments on the Top Bar component:

@joaopedrorc Besides the adjustments I sent to you (https://airtable.com/shrI9sfdnkocsizb7) there are a few other things:

  • Add scroll behavior: on scroll the Top Bar elevates with a drop shadow ($shadow-level1)
  • Color variations:
    - Default: most used, with $interface-light-pure background and $brand-primary-pure elements
    - On Color: the tokens must be flexible so we can change the background and elements color. This variation is used on interfaces that have colored background and both, interface and top bar background colors, must match.

🔗 Follow this hand-off.

Checkbox behavior on Storybook

Hello there!
I'd like to simulate the component's behavior by displaying 4 checkboxes where the first is the "parent": when the parent is selected or deselected, so are all the others. If one of the children is selected, the parent state must be Indeterminate.

Something like:

image

If you have any doubts feel free to hit me up =)

🛠 Adjustments - Transaction List Item Parent (Web)

We need to change the Parent item of the Transaction List Item.
Currently this component has only a Title but we might need other levels of information, just like in the default Transaction List Item. So the solution is: replace the Parent Item with the default Transaction List Item, with all 4 levels of text, tag, value and date/time.
The levels shown in the component can be customized and should be defined by the designed responsible for the interface.

image

Handoff https://bit.ly/3mq5sfY

Setup CI/CD in the CircleCI

  • Configure Continuous Integration

    • Checks Build, Test and Coverage

    • Involves the security team with sonar

  • Configure Continuous Delivery

    • Publishes a version of the package in the NPM repo

    • Publishes storybook doc in the GH Pages

Update inputs border-width

When the following components are in the focus state or hover state the border-width must be $border-width-thin, otherwise it should be border-width-hairline:

  • Select
  • Input
  • TextArea

Update FormLabel styles

Sets font-family and change font-weight for FormLabel component

font-family: $font-family-base
font-weight: $font-weight-regular

This change affects these components:

  • Select
  • FormControl
  • Input
  • TextArea

Add Tooltip option on Inputs

We need to be able to use a tooltip on all Input types. The tooltip is triggered by hovering or touching the icon placed right next to the label. Touching outside the tooltip closes it.
Hand-off on this file.

Discussão - Modelo de versionamento e organização de pastas das plataformas (Web, iOS, Android)

Motivação

Precisamos prever um modelo de estruturação do código e versionamento que retrate a realidade de termos 3 tipos de outputs de um único projeto. Web, Android e iOS.

Cenário atual

O modelo atual prevê somente casos para a geração dos tokens da Web, mas temos ainda os projetos Android e iOS para serem cobertos.

Em conversa com o Elton levantamos alguns possíveis pontos on seriam necessárias melhorias/adaptações, como configurações de CI e regras para versionamento, para aí sim podermos trabalhar de forma saudável com as 3 plataformas em harmonia.

Possíveis soluções

Versionamento

Conversamos sobre algo que no final das contas gere um resultado como:

web-v1.0.0
web-v1.1.0
web-v1.2.0

android-v1.0.0
android-v1.1.0
android-v1.2.0

ios-v1.0.0
ios-v1.1.0
ios-v1.2.0

A questão é que isso é somente uma parte, pois temos que definir a regra correta de increment de versão para caso.

Para ajudar a resolver a questão da regra de increment, pensamos também em talvez mudar a estrutura de pastas do projeto, onde cada plataforma acabaria ficando independente para fazer seu versionamento.

platforms/
+-- ios
    +-- formaters/
    +-- package.json
+-- android
    +-- formaters/
    +-- package.json
+-- web
    +-- formaters/
    +-- package.json
src/
+-- tokens.yml
package.json

Para ajudar a organizar a solução acima o Elton chegou a sugerir darmos uma olhada no https://github.com/lerna/lerna para vermos se atende.

Gostaríamos de abrir essa thread para tomarmos a decisão de como vamos seguir.

Change helperText color

Replaces color: $color-interface-dark-down; to color: $color-interface-dark-up;
This change affects these components:

  • Select
  • FormControl
  • Input
  • TextArea

Select menu z-index problems

Describe the bug
The select menu (listbox) is below some elements when activated.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://codesandbox.io/s/jovial-dawn-7onvw
  2. Click on 'first select'
  3. (Error 1) The arrow icon from the second select is displayed above 'listbox'.
  4. (Error 2) The relative div is displayed above 'listbox'.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
Peek 2021-04-29 09-13

Desktop (please complete the following information):

  • OS: Manjaro 21.0.3
  • Browser: Firefox
  • Version: 88.0

Additional context

Fix Select (max-width)

There's something wrong with the max-width of the Select component, something is blocking it from going 100% wide.
image

Publishing flat npm packages for easier import paths

Is your feature request related to a problem? Please describe.
I'm always frustrated when I see that the "dist" is part of the import path. Look at the examples below:

  • import { Container } from '@useblu/ocean-components/dist/Grid';
  • import { Col } from '@useblu/ocean-components/dist/Grid';
  • import { Row } from '@useblu/ocean-components/dist/Grid';

This leaves the import path a bit large and is not very elegant.

Describe the solution you'd like
I'd like to omit the directory /dist of the import path.

Describe alternatives you've considered
Check how the famous libraries are doing.

Adjust Icon Button disabled state

The disabled state of the Icon Button shouldn't have any background color. Also, the icon color should be $color-interface-light-deep.

🔗 Hand-off here.

Creat Carousel component from scratch

We're experiencing a lot of problems trying to customize a pre made component so it'll be better to build one from scratch and build it the way we need.

Deploy packages through CircleCI

Is your feature request related to a problem? Please describe.
Today, versioning and publishing are manual processes.

Describe the solution you'd like

  • Create an npm script to help with manual package versioning;
  • Pre-configure lerna version options in lerna.json;
  • Generates automatic changelogs when versioning;
  • Publish packages on CI;
  • Creates github release on CI;

Describe alternatives you've considered

Configurate screenshot test

Is your feature request related to a problem? Please describe.
A change in CSS can lead to an unwanted visual regression. To avoid that we need a tool to save photos of our components to compare later on pull requests.

Describe alternatives you've considered
We can use chromatic for open source it's free.

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.