Skip to content

Commit

Permalink
Git Sync, URL Sync & Polish (#226)
Browse files Browse the repository at this point in the history
* add initial url sync

* add new provider type

* add form

* add basic functionality

* add working pull

* add push dialog, working state

* added checks for commit message

* add tests

* rework confirm message

* add dirty state

* add test

* fix jsonbin

* remove legacy code

* wip

* fix pullTokens

* add tests

* add first draft of cli script

* fix tests

* add pkg

* working cli tool with github actions

* remove console log

* Add robustness

* bump token-transformer

* prettify ui

* bump release

* add custom branch input to pushDialog

* added loading screen, fixed jsonbin add

* add excludes to token transformer

* add readme to token-transformer

* fix transformer when no excludes are present

* remove token context

* add url sync

* allow users to resize window by dragging corner

* fix url sync

* ignore tokens from style creation that start with _

* fix tooltip render error

* fix tooltip in list mode

* fix resize pointer

* fix #266

* fix colors button row

* fixes #274

* fix / replacement

* fixes #142

* add check for alias

* add token preview in edit

* fix undefined pr state if no file existed

* add editProhibited based on user role

* fix alias value of 0

* add new defaults

* remove spellcheck from inputs

* adds json5 support, fixes #270, fixes #283

* add unique check to names

* fix color opacity values not matching when using 0.5

* fixes #166, fixes #209

* add type to new token creation

* fixes #276

* fixes unique name check

* fix unique name check

* capitalize description in edit form

* introduce new merging function

* fix aliasing of rgba colors

* add new resize icon

* fix capitalization of input labels

* fix name of form

* fix async fn

* correctly saves whole context obj except secret

* add placeholder for value

* fix spec

* fix test

* remove console.log

* fix when no tokens file was present

* integrate style name ignore for updating nodes

* fix ignore part when applying

* fix modal padding except for edit token form

* fix token-transformer

* bump token transformer
  • Loading branch information
six7 authored Oct 31, 2021
1 parent 21b7361 commit df8fddd
Show file tree
Hide file tree
Showing 91 changed files with 4,632 additions and 1,054 deletions.
13 changes: 4 additions & 9 deletions cypress/integration/tokens.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,21 @@ describe('TokenListing', () => {
cy.receiveTokenValues({
version: '5',
values: {
options: [
{
name: 'sizing.xs',
value: 4,
},
],
options: [],
},
});
cy.receiveStorageTypeLocal();
cy.get('[data-cy=tokenlisting-sizing] [data-cy=button-add-new-token]').click({timeout: 1000});
fillTokenForm({
name: 'sizing.xs',
name: 'sizing.sm',
value: '4',
});
cy.get('@postMessage').should('be.calledTwice');
receiveRemoteComponents();
cy.get('[data-cy=tokenlisting-sizing] [data-cy=button-add-new-token]').click({timeout: 1000});
fillTokenForm({
name: 'sizing.sm',
value: '$sizing.xs * 2',
name: 'sizing.md',
value: '$sizing.sm * 2',
});
});

Expand Down
Loading

0 comments on commit df8fddd

Please sign in to comment.