-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added upload button on versions editor, refactor same classes/compone…
…nts. Signed-off-by: Dennis Labordus <[email protected]>
- Loading branch information
Dennis Labordus
committed
Sep 30, 2021
1 parent
8fb14a5
commit bd48305
Showing
54 changed files
with
872 additions
and
2,758 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# `compas-comment` | ||
|
||
#### `looks like the latest snapshot` | ||
|
||
```html | ||
<wizard-textfield | ||
disabled="" | ||
id="comment" | ||
label="[compas.comment]" | ||
nullable="" | ||
> | ||
</wizard-textfield> | ||
|
||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# `compas-loading` | ||
|
||
#### `looks like the latest snapshot` | ||
|
||
```html | ||
<mwc-list> | ||
<mwc-list-item | ||
aria-disabled="false" | ||
mwc-list-item="" | ||
tabindex="0" | ||
> | ||
[compas.loading] | ||
</mwc-list-item> | ||
</mwc-list> | ||
|
||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# `compas-upload-version` | ||
|
||
## `still determining if document exists in CoMPAS` | ||
|
||
#### `looks like the latest snapshot` | ||
|
||
```html | ||
<compas-loading> | ||
</compas-loading> | ||
|
||
``` | ||
|
||
## `no document in compas (anymore)` | ||
|
||
#### `looks like the latest snapshot` | ||
|
||
```html | ||
<mwc-list> | ||
<mwc-list-item | ||
aria-disabled="false" | ||
mwc-list-item="" | ||
tabindex="0" | ||
> | ||
[compas.notExists] | ||
</mwc-list-item> | ||
</mwc-list> | ||
|
||
``` | ||
|
||
## `existing document in compas` | ||
|
||
#### `looks like the latest snapshot` | ||
|
||
```html | ||
<input | ||
accept=".scd" | ||
hidden="" | ||
id="scl-file" | ||
required="" | ||
type="file" | ||
> | ||
<wizard-textfield | ||
id="filename" | ||
label="[compas.uploadVersion.filename]" | ||
required="" | ||
> | ||
</wizard-textfield> | ||
<mwc-button label="[compas.uploadVersion.selectButton]"> | ||
</mwc-button> | ||
<compas-changeset-radiogroup> | ||
</compas-changeset-radiogroup> | ||
<compas-comment> | ||
</compas-comment> | ||
|
||
``` | ||
|
||
## `existing document in compas through wizard` | ||
|
||
#### `looks like the latest snapshot` | ||
|
||
```html | ||
<mwc-dialog | ||
defaultaction="close" | ||
heading="[compas.uploadVersion.title]" | ||
open="" | ||
> | ||
<div id="wizard-content"> | ||
<compas-upload-version> | ||
</compas-upload-version> | ||
</div> | ||
<mwc-button | ||
dialogaction="close" | ||
label="[cancel]" | ||
slot="secondaryAction" | ||
style="--mdc-theme-primary: var(--mdc-theme-error)" | ||
> | ||
</mwc-button> | ||
<mwc-button | ||
dialoginitialfocus="" | ||
icon="save" | ||
label="[save]" | ||
slot="primaryAction" | ||
trailingicon="" | ||
> | ||
</mwc-button> | ||
</mwc-dialog> | ||
|
||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.