Skip to content

MNTOR-4298 - Announcements ADR #5866

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
"@fluent/bundle": "^0.19.1",
"@fluent/langneg": "^0.7.0",
"@fluent/react": "^0.15.2",
"@fluent/syntax": "^0.19.0",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty safe dependency built for tooling around fluent:

It’s designed to parse, analyze, process, and serialize Fluent files.

"@google-cloud/logging-winston": "^6.0.0",
"@google-cloud/pubsub": "^5.0.0",
"@grpc/grpc-js": "1.13.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,110 @@
.container {
padding: tokens.$layout-xs;

.wrapper {
li {
margin: tokens.$spacing-md 0;
}

code {
background-color: tokens.$color-grey-10;
padding: tokens.$spacing-xs tokens.$spacing-sm;
border-radius: tokens.$border-radius-sm;
font-family: monospace;
}

h1 {
font: tokens.$text-title-2xs;
}

h2 {
font: tokens.$text-body-lg;
font-weight: 700;
}

h3 {
font: tokens.$text-title-3xs;
}

.tabBar {
display: flex;
margin-bottom: tokens.$spacing-md;
}

.tabButton {
padding: tokens.$spacing-sm tokens.$spacing-md;
border: none;
background: tokens.$color-grey-10;
cursor: pointer;
margin-right: tokens.$spacing-xs;
border-radius: tokens.$border-radius-sm tokens.$border-radius-sm 0 0;

&:hover {
background: tokens.$color-grey-20;
}

&.activeTab {
background: tokens.$color-white;
border-bottom: 2px solid tokens.$color-purple-70;
font-weight: 700;
}
}

.stringsView,
.wrapper,
.documentation {
padding: tokens.$layout-xs;
border: 2px solid tokens.$color-grey-20;
}

.stringsView {
.stringsViewHeader {
display: flex;
gap: tokens.$spacing-md;
}

ul {
list-style: none;
margin-top: tokens.$spacing-md;
padding-left: 0;

.stringCard {
border-bottom: 1px solid tokens.$color-grey-10;
padding: tokens.$spacing-sm 0;
margin-bottom: tokens.$spacing-sm;

&[id="dialog-empty-state"] {
opacity: 0.3;
}
}

.stringId {
font-family: monospace;
font-weight: 700;
margin-bottom: tokens.$spacing-xs;
}
}
}

.wrapper {
display: grid;
grid-template-columns: 1.5fr 1.5fr 1fr;
gap: tokens.$layout-lg;

.notificationsWrapper {
ul {
padding-top: tokens.$spacing-lg;
list-style-type: none;
list-style: none;
margin: 0;
padding-left: 0;
padding-top: tokens.$spacing-lg;

li {
display: flex;
align-items: center;
padding: tokens.$spacing-md;
border: 1px solid tokens.$color-grey-40;
border-radius: tokens.$border-radius-sm;
margin-bottom: tokens.$spacing-sm;
cursor: pointer;
justify-content: flex-start;
display: flex;
align-items: center;

&.active {
border: 2px solid tokens.$color-purple-70;
Expand All @@ -42,21 +123,17 @@
.pills {
display: flex;
flex-direction: column;
margin-left: auto;
align-items: center;
align-content: center;
justify-content: center;
gap: tokens.$spacing-xs;
margin-left: auto;

.statusPill {
border-radius: tokens.$border-radius-lg;
padding: tokens.$spacing-xs tokens.$spacing-sm;
text-align: center;
min-width: 100px;
align-items: center;
align-self: center;
text-transform: capitalize;
font-size: 14px;
font-size: 10px;
font-weight: 700;

&.draft {
Expand Down Expand Up @@ -98,8 +175,8 @@

.buttons {
display: flex;
flex-direction: row;
gap: tokens.$spacing-sm;

button {
all: unset;
background-color: tokens.$color-grey-10;
Expand Down Expand Up @@ -127,11 +204,11 @@
img {
object-fit: contain;
width: 100%;
height: auto; /* Maintain aspect ratio */
height: auto;
}

dt {
font-size: 18px;
font-size: tokens.$text-body-xl;
font-weight: 700;
padding: tokens.$spacing-sm 0;
}
Expand All @@ -145,32 +222,58 @@

.missingLabelContainer {
display: flex;
flex-direction: row;
gap: tokens.$spacing-sm;
align-items: center;

.missingLabel {
font-size: 12px;
font-weight: 600;
color: tokens.$color-yellow-70;
background-color: tokens.$color-yellow-20;
border-radius: tokens.$border-radius-lg;
padding: tokens.$spacing-xs tokens.$spacing-sm;
}
}

.imagePathUnavailable {
color: tokens.$color-red-50;
font-weight: 600;
}
}

.addButton {
all: unset;
background-color: tokens.$color-grey-10;
font-weight: 600;
padding: tokens.$spacing-sm tokens.$spacing-md;
border-radius: tokens.$border-radius-md;
cursor: pointer;
margin-top: tokens.$spacing-md;
.addButton {
all: unset;
background-color: tokens.$color-grey-10;
font-weight: 600;
padding: tokens.$spacing-sm tokens.$spacing-md;
border-radius: tokens.$border-radius-md;
cursor: pointer;
margin-top: tokens.$spacing-md;
}

.missingLabel {
font-size: tokens.$text-body-xs;
font-weight: 600;
color: tokens.$color-yellow-70;
background-color: tokens.$color-yellow-20;
border-radius: tokens.$border-radius-lg;
padding: tokens.$spacing-xs tokens.$spacing-sm;
}

.documentation {
display: flex;
flex-direction: column;
gap: tokens.$spacing-lg;

h1,
h2 {
padding-bottom: tokens.$spacing-sm;
}

section {
max-width: tokens.$content-xl;
border-bottom: 1px solid tokens.$color-grey-20;
padding-bottom: tokens.$spacing-md;
}

.codeBlock {
margin-top: tokens.$spacing-md;
width: tokens.$content-lg;
color: tokens.$color-grey-50;
background-color: tokens.$color-grey-05;
padding: tokens.$spacing-md;
border-radius: tokens.$border-radius-sm;
font-family: monospace;
}
}
}
Loading
Loading