mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 22:22:43 -05:00
Merge pull request #160 from tokens-studio/sizing-token-context-menu
Add new changes from token-studio-develop merge
This commit is contained in:
commit
01d2a25c8c
5 changed files with 26 additions and 13 deletions
|
@ -14,7 +14,7 @@ values:
|
||||||
image:
|
image:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
repository: ghcr.io/tokens-studio/tokens-studio-for-penpot
|
repository: ghcr.io/tokens-studio/tokens-studio-for-penpot
|
||||||
tag: 'frontend-{{ .SHA }}'
|
tag: 'frontend-pr-{{ .SHA }}'
|
||||||
ingress:
|
ingress:
|
||||||
hosts:
|
hosts:
|
||||||
- host: "{{ .BRANCH | sanitizeDNSName }}.penpot.staging.tokens.studio"
|
- host: "{{ .BRANCH | sanitizeDNSName }}.penpot.staging.tokens.studio"
|
||||||
|
|
|
@ -116,7 +116,6 @@ manifests: |
|
||||||
enabled: true
|
enabled: true
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
networking.gke.io/v1beta1.FrontendConfig: default-frontend-config
|
|
||||||
hosts:
|
hosts:
|
||||||
- host: penpot.tokens.studio
|
- host: penpot.tokens.studio
|
||||||
tls:
|
tls:
|
||||||
|
|
12
.github/workflows/pr.yaml
vendored
12
.github/workflows/pr.yaml
vendored
|
@ -12,7 +12,8 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- dockerfile: Dockerfile.frontend
|
- dockerfile: Dockerfile.frontend
|
||||||
type: frontend
|
type: pr-frontend
|
||||||
|
name: frontend
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
|
@ -30,7 +31,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GHCR_TOKEN }}
|
password: ${{ secrets.PAT_TOKEN }}
|
||||||
|
|
||||||
- name: Docker meta
|
- name: Docker meta
|
||||||
id: meta
|
id: meta
|
||||||
|
@ -42,9 +43,9 @@ jobs:
|
||||||
ghcr.io/tokens-studio/tokens-studio-for-penpot
|
ghcr.io/tokens-studio/tokens-studio-for-penpot
|
||||||
- name: prebuild
|
- name: prebuild
|
||||||
run: |
|
run: |
|
||||||
echo "Building ${{ matrix.type }} image"
|
echo "Building ${{ matrix.name }} image"
|
||||||
./manage.sh build-${{matrix.type}}-bundle
|
./manage.sh build-${{matrix.name}}-bundle
|
||||||
mv ./bundles/${{matrix.type}} ./docker/images/bundle-${{matrix.type}}/
|
mv ./bundles/${{matrix.name}} ./docker/images/bundle-${{matrix.name}}/
|
||||||
|
|
||||||
- name: Publish Docker images
|
- name: Publish Docker images
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
|
@ -67,3 +68,4 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GIMLET_SERVER: ${{ secrets.GIMLET_SERVER }}
|
GIMLET_SERVER: ${{ secrets.GIMLET_SERVER }}
|
||||||
GIMLET_TOKEN: ${{ secrets.GIMLET_TOKEN }}
|
GIMLET_TOKEN: ${{ secrets.GIMLET_TOKEN }}
|
||||||
|
DEPLOY: 'true'
|
5
.github/workflows/publish.yml
vendored
5
.github/workflows/publish.yml
vendored
|
@ -31,7 +31,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GHCR_TOKEN }}
|
password: ${{ secrets.PAT_TOKEN }}
|
||||||
|
|
||||||
|
|
||||||
- name: Docker meta
|
- name: Docker meta
|
||||||
id: meta
|
id: meta
|
||||||
|
@ -71,7 +72,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
ENV: "prod"
|
ENV: "prod"
|
||||||
APP: "penpot"
|
APP: "penpot"
|
||||||
DEPLOY: "true"
|
WAIT: "true"
|
||||||
smoke:
|
smoke:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs:
|
needs:
|
||||||
|
|
|
@ -24,8 +24,19 @@
|
||||||
background-color: var(--menu-background-color);
|
background-color: var(--menu-background-color);
|
||||||
max-height: 100vh;
|
max-height: 100vh;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
||||||
|
// TODO: Fixes missing styles from parent context menu
|
||||||
|
li {
|
||||||
|
@include bodySmallTypography;
|
||||||
|
color: var(--menu-foreground-color);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.token-context-submenu {
|
// TODO: Allow selected items wihtout an icon for the context menu
|
||||||
position: absolute;
|
.empty-icon {
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
.hidden-icon {
|
||||||
|
width: 11px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue