Skip to content
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

UBER-194,-166,-185: add application icons, fixed Inbox list and mobile layout #3229

Merged
merged 3 commits into from
May 22, 2023
Merged
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
1 change: 1 addition & 0 deletions packages/theme/styles/_layouts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ input.search {
& > :first-child { margin-right: 0; }
}
}
.gapV-1 > *:not(:last-child) { margin-bottom: .25rem; }
.gap-1-5 {
&:not(.reverse) > *:not(:last-child) { margin-right: .375rem; }
&.reverse > *:not(:first-child) { margin-left: .375rem; }
Expand Down
3 changes: 3 additions & 0 deletions packages/theme/styles/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
}
&.lastDivider { border-color: var(--theme-navpanel-border); }
}
.normal-font .antiPanel-application .app .icon-container.noty { clip-path: url(#notify-normal); }
.small-font .antiPanel-application .app .icon-container.noty { clip-path: url(#notify-small); }

.antiPanel-navigator,
.antiPanel-component {
flex-grow: 1;
Expand Down
1 change: 0 additions & 1 deletion packages/theme/styles/panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@
.popupPanel-body__header {
display: flex;
align-items: center;
height: 100%;
min-height: 0;

&-wrapper {
Expand Down
1 change: 0 additions & 1 deletion packages/ui/src/components/ListView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
user-select: none;

.list-item {
flex-grow: 1;
margin: 0 0.5rem;
min-width: 0;
border-radius: 0.25rem;
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/src/components/Scroller.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
export let invertScroll: boolean = false
export let horizontal: boolean = false
export let contentDirection: 'vertical' | 'vertical-reverse' | 'horizontal' = 'vertical'
export let gap: 'gap-1' | 'gap-1-5' | 'gap-2' | 'gap-3' | 'gap-around-2' | 'gap-around-4' | undefined = undefined
export let gap: string | undefined = undefined
export let noStretch: boolean = autoscroll
export let buttons: 'normal' | 'union' | false = false
export let shrink: boolean = false
Expand Down Expand Up @@ -499,7 +499,7 @@
<div
bind:this={divBox}
class="box{gap ? ` ${gap}` : ''}"
class:align-center={contentDirection === 'horizontal'}
class:items-center={contentDirection === 'horizontal'}
style:padding
style:flex-direction={contentDirection === 'vertical'
? 'column'
Expand Down
10 changes: 5 additions & 5 deletions plugins/board-assets/assets/icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 10 additions & 5 deletions plugins/calendar-assets/assets/icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions plugins/calendar-assets/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const icons = require('../assets/icons.svg') as string // eslint-disable-line
loadMetadata(calendar.icon, {
Calendar: `${icons}#calendar`,
Reminder: `${icons}#reminder`,
Notifications: `${icons}#notifications`,
Location: `${icons}#location`
})

Expand Down
3 changes: 2 additions & 1 deletion plugins/calendar/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ const calendarPlugin = plugin(calendarId, {
icon: {
Calendar: '' as Asset,
Location: '' as Asset,
Reminder: '' as Asset
Reminder: '' as Asset,
Notifications: '' as Asset
},
space: {
// Space for all personal events.
Expand Down
4 changes: 2 additions & 2 deletions plugins/chunter-assets/assets/icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 3 additions & 4 deletions plugins/contact-assets/assets/icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion plugins/devmodel-resources/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export async function Hook (client: AccountClient): Promise<Client> {
core.space.Model,
{
label: 'DevModel' as IntlString,
icon: view.icon.Model,
icon: view.icon.DevModel,
alias: devModelId,
hidden: false,
navigatorModel: {
Expand Down
4 changes: 2 additions & 2 deletions plugins/document-assets/assets/icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading