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

V29 #116

Merged
merged 6 commits into from
Sep 24, 2024
Merged

V29 #116

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
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install packages
run: sudo apt-get update -y && sudo apt-get install -y gettext
- name: build extension
run: make
- name: create zip package
run: make package
- name: store zip package artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: taskwhisperer-extension.zip
path: _build/taskwhisperer-extension.zip
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install packages
run: sudo apt-get update -y && sudo apt-get install -y gettext
- name: build extension
Expand Down
2 changes: 2 additions & 0 deletions [email protected]/components/buttons/buttonGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ export const ButtonGroup = GObject.registerClass({

if (!enableScrollbar) {
this.set_policy(St.PolicyType.NEVER, St.PolicyType.NEVER)
} else {
this.set_policy(St.PolicyType.AUTOMATIC, St.PolicyType.AUTOMATIC)
}

this._selectedButton = buttons.find(item => item.selected)
Expand Down
1 change: 1 addition & 0 deletions [email protected]/components/cards/taskCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export const TaskCard = GObject.registerClass({

if (iconName) {
icon = new IconButton({
style_class: 'status-icon-button',
asButton: false,
isCustomIcon: true,
icon_name: iconName,
Expand Down
5 changes: 3 additions & 2 deletions [email protected]/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"settings-schema": "org.gnome.shell.extensions.taskwhisperer",
"gettext-domain": "gnome-shell-extension-taskwhisperer",
"shell-version": [
"46"
"46",
"47"
],
"url": "https://github.com/cinatic/taskwhisperer",
"uuid": "[email protected]",
"version": 9999
"version": 29
}
2 changes: 1 addition & 1 deletion [email protected]/services/taskService.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export const loadProjectsData = async taskStatus => {
let sortedUniqueProjects = []

try {
sortedUniqueProjects = [...new Set(allTheTasks.filter(item => item.project).map(item => item.project).sort())]
sortedUniqueProjects = [...new Set((allTheTasks || []).filter(item => item.project).map(item => item.project).sort())]
} catch (e) {
logError(e)
}
Expand Down
4 changes: 3 additions & 1 deletion [email protected]/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@
box-shadow: none;
}

.taskwhisperer-extension .task-card .status-icon-button,
.taskwhisperer-extension .task-card .status-icon-bin {
width: 20px;
padding: 0 !important;
margin: 0 !important;
}

.taskwhisperer-extension .task-card .description-box {
Expand Down