-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
1,016 additions
and
440 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
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 |
---|---|---|
|
@@ -10,8 +10,8 @@ jobs: | |
outputs: | ||
matrix: ${{ steps.matrix.outputs.value }} | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- id: matrix | ||
if: env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR == 'true' | ||
run: echo "value=$PR_JOBS_NAME" >> $GITHUB_OUTPUT | ||
|
@@ -24,7 +24,7 @@ jobs: | |
matrix: | ||
value: ${{ fromJSON(needs.setup.outputs.matrix) }} | ||
steps: | ||
- uses: taiga-family/ci/actions/run/[email protected].0 | ||
- uses: taiga-family/ci/actions/run/[email protected].2 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
job: ${{ matrix.value }} | ||
|
@@ -33,13 +33,13 @@ jobs: | |
needs: [wait] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/auto/approve/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- uses: taiga-family/ci/actions/auto/approve/[email protected].2 | ||
with: | ||
token1: ${{ secrets.GITHUB_TOKEN }} | ||
token2: ${{ secrets.TAIGA_FAMILY_APPROVE_BOT_PAT }} | ||
- uses: taiga-family/ci/actions/run/[email protected].0 | ||
- uses: taiga-family/ci/actions/run/[email protected].2 | ||
if: env.IS_RELEASE_BRANCH == 'false' | ||
with: | ||
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | ||
|
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 |
---|---|---|
|
@@ -10,9 +10,9 @@ jobs: | |
name: Build app | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- run: npx nx build | ||
|
||
concurrency: | ||
|
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 |
---|---|---|
|
@@ -6,9 +6,9 @@ jobs: | |
name: Firebase | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- run: npx nx build --base-href='/' | ||
- name: Debug output | ||
run: tree dist/apps/taiga-lumbermill/browser -P '*.html' | ||
|
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 |
---|---|---|
|
@@ -9,9 +9,9 @@ jobs: | |
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- run: npx nx build-gh-pages taiga-lumbermill | ||
- uses: JamesIves/[email protected] | ||
with: | ||
|
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 |
---|---|---|
|
@@ -5,41 +5,41 @@ jobs: | |
typecheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- run: npm run typecheck | ||
|
||
cspell: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- run: npm run cspell -- --no-progress | ||
|
||
prettier: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- run: npm run prettier -- --check | ||
|
||
stylelint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- run: npm run stylelint | ||
|
||
eslint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- run: npm run lint | ||
|
||
result: | ||
|
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 |
---|---|---|
|
@@ -11,9 +11,9 @@ jobs: | |
name: Run tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- uses: taiga-family/ci/actions/setup/[email protected].2 | ||
- name: Install Playwright | ||
run: npx playwright install --with-deps | ||
- name: Run Tests | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
</h3> | ||
<button | ||
tuiButton | ||
[style.margin-top]="'auto'" | ||
(click)="createNew()" | ||
> | ||
Create new Token | ||
|
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 |
---|---|---|
|
@@ -75,6 +75,7 @@ | |
<button | ||
tuiButton | ||
type="submit" | ||
[style.margin-top]="'auto'" | ||
> | ||
Deploy | ||
</button> | ||
|
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 |
---|---|---|
|
@@ -14,6 +14,7 @@ form { | |
display: flex; | ||
flex-direction: column; | ||
gap: 0.4rem; | ||
height: 100%; | ||
} | ||
|
||
.block-input { | ||
|
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 |
---|---|---|
|
@@ -4,6 +4,10 @@ | |
text-align: center; | ||
} | ||
|
||
.card { | ||
height: 100%; | ||
} | ||
|
||
.block-input { | ||
display: flex; | ||
flex-direction: column; | ||
|
96 changes: 96 additions & 0 deletions
96
apps/taiga-lumbermill/src/dashboards/crypto/components/nft/nft-item/nft-item.component.html
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,96 @@ | ||
@let nftData = nft(); | ||
@if (nftData) { | ||
<div class="info"> | ||
<tui-avatar | ||
class="logo-nft nft-icon" | ||
[src]="nftData.src" | ||
/> | ||
<div | ||
tuiHeader | ||
class="text" | ||
[style.text-align]="'center'" | ||
> | ||
<h2 class="tui-space_top-0 tui-space_bottom-2">{{ nftData.name }}</h2> | ||
<p | ||
tuiSubtitle | ||
class="tui-space_top-0 tui-space_bottom-0" | ||
> | ||
{{ nftData.price | tuiAmount: 'USD' | async }} | ||
</p> | ||
<div class="badges"> | ||
@for (tag of nftData.tags; track $index) { | ||
<tui-badge | ||
appearance="primary" | ||
[style.background]="tag | tuiAutoColor" | ||
> | ||
{{ tag }} | ||
</tui-badge> | ||
} | ||
</div> | ||
</div> | ||
<button | ||
appearance="icon" | ||
iconStart="@tui.circle-x" | ||
size="s" | ||
tuiIconButton | ||
(click)="goBack()" | ||
></button> | ||
</div> | ||
<tui-scrollbar> | ||
<cdk-virtual-scroll-viewport | ||
#viewport | ||
tuiScrollable | ||
class="viewport tui-zero-scrollbar" | ||
[itemSize]="46" | ||
[maxBufferPx]="500" | ||
[minBufferPx]="200" | ||
> | ||
<table | ||
tuiTable | ||
[columns]="columns" | ||
> | ||
<thead> | ||
<tr tuiThGroup> | ||
@for (column of columns; track $index) { | ||
@if (column === 'from' || column === 'to') { | ||
<th | ||
*tuiHead="column" | ||
tuiTh | ||
[sorter]="null" | ||
[sticky]="true" | ||
[style.top.px]="-(viewport.getOffsetToRenderedContentStart() || 0)" | ||
> | ||
{{ column }} | ||
</th> | ||
} @else { | ||
<th | ||
*tuiHead="column" | ||
tuiTh | ||
[sticky]="true" | ||
[style.top.px]="-(viewport.getOffsetToRenderedContentStart() || 0)" | ||
> | ||
{{ column === 'priceUsd' ? 'price, $' : column }} | ||
</th> | ||
} | ||
} | ||
</tr> | ||
</thead> | ||
<tbody tuiTbody> | ||
<tr | ||
*cdkVirtualFor="let item of nftData.transactions | tuiTableSort" | ||
tuiTr | ||
> | ||
@for (column of columns; track $index) { | ||
<td | ||
*tuiCell="column" | ||
tuiTd | ||
> | ||
{{ column === 'time' ? (item[column] | date: 'dd.MM.yyyy') : item[column] }} | ||
</td> | ||
} | ||
</tr> | ||
</tbody> | ||
</table> | ||
</cdk-virtual-scroll-viewport> | ||
</tui-scrollbar> | ||
} |
49 changes: 49 additions & 0 deletions
49
apps/taiga-lumbermill/src/dashboards/crypto/components/nft/nft-item/nft-item.component.less
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,49 @@ | ||
.nft-icon { | ||
border-radius: 1rem; | ||
width: 10rem; | ||
height: 10rem; | ||
} | ||
|
||
.info { | ||
position: relative; | ||
display: flex; | ||
padding: 1rem 0; | ||
justify-content: space-between; | ||
} | ||
|
||
.text { | ||
display: flex; | ||
width: 100%; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
table { | ||
width: 100%; | ||
|
||
tr { | ||
height: 2.875rem; | ||
} | ||
|
||
td { | ||
&:first-child { | ||
width: 10rem; | ||
font-weight: bold; | ||
} | ||
|
||
&:last-child { | ||
width: 3rem; | ||
} | ||
} | ||
} | ||
|
||
.viewport { | ||
height: 15.625rem; | ||
} | ||
|
||
.badges { | ||
display: flex; | ||
gap: 0.5rem; | ||
margin-top: 0.4rem; | ||
} |
Oops, something went wrong.