Skip to content

Commit

Permalink
Add Shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
alainm23 committed Feb 23, 2022
1 parent 73c9d24 commit d53a582
Show file tree
Hide file tree
Showing 65 changed files with 3,541 additions and 481 deletions.
1 change: 1 addition & 0 deletions com.github.alainm23.planner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ finish-args:
- "--share=network"
- "--socket=fallback-x11"
- "--socket=wayland"
- "--filesystem=home"

- "--metadata=X-DConf=migrate-path=/com/github/alainm23/planner/"
cleanup:
Expand Down
2 changes: 1 addition & 1 deletion data/com.github.alainm23.planner.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<binary>com.github.alainm23.planner</binary>
</provides>
​<releases>
<release version="3.0.4" date="2021-02-11">
<release version="3.0.6" date="2022-02-22">
<description>
<p>Planner 3.0 Beta1 is here...</p>
<ul>
Expand Down
4 changes: 4 additions & 0 deletions data/com.github.alainm23.planner.gresource.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
<file alias="planner-heart.svg">resources/settings/planner-heart.svg</file>
<file alias="planner-mail.svg">resources/settings/planner-mail.svg</file>
<file alias="planner-appearance.svg">resources/settings/planner-appearance.svg</file>
<file alias="planner-notification.svg">resources/settings/planner-notification.svg</file>
<file alias="planner-home.svg">resources/settings/planner-home.svg</file>

<file alias="planner-calendar-light.svg">resources/planner-calendar-light.svg</file>
<file alias="planner-calendar-dark.svg">resources/planner-calendar-dark.svg</file>
Expand Down Expand Up @@ -69,5 +71,7 @@
<file alias="planner-pinned-activated.svg">resources/planner-pinned-activated.svg</file>
<file alias="planner-settings-dark.svg">resources/planner-settings-dark.svg</file>
<file alias="planner-settings-light.svg">resources/planner-settings-light.svg</file>
<file alias="planner-bell-light.svg">resources/planner-bell-light.svg</file>
<file alias="planner-bell-dark.svg">resources/planner-bell-dark.svg</file>
</gresource>
</gresources>
9 changes: 5 additions & 4 deletions data/com.github.alainm23.planner.gschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
<enum id="com.github.alainm23.planner.pane-view">
<value nick="Inbox" value="0" />
<value nick="Today" value="1" />
<value nick="Upcoming" value="2" />
<value nick="Completed" value="3" />
<value nick="All Tasks" value="4" />
<value nick="Scheduled" value="2" />
<value nick="Pinboard" value="3" />
<value nick="Completed" value="4" />
<value nick="All Tasks" value="5" />
</enum>

<enum id="com.github.alainm23.planner.button-layout">
Expand Down Expand Up @@ -290,7 +291,7 @@
</key>

<key name="version" type="s">
<default>'0.0.0'</default>
<default>'3.0'</default>
<summary>The currently installed version.</summary>
<description>The currently installed version of Planner, updated only after the user launched the app. This is used to know when to trigger the Release Dialog.</description>
</key>
Expand Down
51 changes: 51 additions & 0 deletions data/resources/planner-bell-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 51 additions & 0 deletions data/resources/planner-bell-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 51 additions & 0 deletions data/resources/settings/planner-home.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 51 additions & 0 deletions data/resources/settings/planner-notification.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions data/stylesheet/sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
color: @color_primary;
}

.filter-pane-row-inbox:selected image {
animation: fancy-turn 0.7s ease-in-out;
}

.filter-pane-row-inbox-selected {
box-shadow: 0px 0px 3px 1px @color_primary;
}
Expand All @@ -62,6 +66,10 @@
color: #fad000;
}

.filter-pane-row-today:selected image {
animation: fancy-turn 0.7s ease-in-out;
}

.filter-pane-row-today-selected {
box-shadow: 0px 0px 3px 1px #fad000;
}
Expand All @@ -78,6 +86,10 @@
box-shadow: 0px 0px 3px 1px #fa1955;
}

.filter-pane-row-scheduled:selected image {
animation: fancy-turn 0.7s ease-in-out;
}

.padding-3 {
padding: 3px;
}
Expand All @@ -92,4 +104,8 @@

.filter-pane-row-pinboard-selected {
box-shadow: 0px 0px 3px 1px #7e8087;
}

.filter-pane-row-pinboard:selected image {
animation: fancy-turn 0.7s ease-in-out;
}
13 changes: 12 additions & 1 deletion data/stylesheet/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,19 @@ button:disabled {
font-weight: 500;
}

.card {
.mt-12 {
margin-top: 24px;
}

.mt-24 {
margin-top: 24px;
}

.mb-12 {
margin-bottom: 12px;
}

.card {
border-radius: 6px;
padding: 9px 9px 6px 9px;
background-color: @item_bg_color;
Expand Down
15 changes: 14 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project (
'com.github.alainm23.planner',
'vala', 'c',
version: '3.0.4'
version: '3.0.6'
)

gnome = import ('gnome')
Expand Down Expand Up @@ -89,6 +89,8 @@ executable (
'src/Widgets/ItemLabels.vala',
'src/Widgets/ItemLabelChild.vala',
'src/Widgets/Placeholder.vala',
'src/Widgets/SubItems.vala',
'src/Widgets/ReminderButton.vala',

'src/Widgets/Calendar/Calendar.vala',
'src/Widgets/Calendar/CalendarDay.vala',
Expand All @@ -115,6 +117,9 @@ executable (
'src/Dialogs/QuickFind/QuickFind.vala',
'src/Dialogs/QuickFind/QuickFindItem.vala',
'src/Dialogs/QuickFind/Synapse.vala',

'src/Dialogs/ReminderPicker/ReminderPicker.vala',
'src/Dialogs/ReminderPicker/ReminderRow.vala',

'src/Dialogs/Settings/Settings.vala',
'src/Dialogs/Settings/SettingsHeader.vala',
Expand All @@ -138,11 +143,15 @@ executable (
'src/Dialogs/ContextMenu/MenuCalendarPicker.vala',
'src/Dialogs/ContextMenu/MenuSwitch.vala',

'src/Dialogs/Shortcuts/Shortcuts.vala',
'src/Dialogs/Shortcuts/ShortcutLabel.vala',

'src/Services/EventBus.vala',
'src/Services/Database.vala',
'src/Services/Todoist.vala',
'src/Services/ActionManager.vala',
'src/Services/Badge.vala',
'src/Services/Notification.vala',

'src/Objects/v2.vala',
'src/Objects/BaseObject.vala',
Expand All @@ -153,6 +162,10 @@ executable (
'src/Objects/Color.vala',
'src/Objects/DueDate.vala',
'src/Objects/ItemLabel.vala',
'src/Objects/Today.vala',
'src/Objects/Pinboard.vala',
'src/Objects/Scheduled.vala',
'src/Objects/Reminder.vala',
gresource,
config_file,
dependencies: planner_deps,
Expand Down
Loading

0 comments on commit d53a582

Please sign in to comment.