Skip to content
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ out of the way and focus on real work.
- [GQueues](https://www.gqueues.com/)
- [Habitica](https://habitica.com)
- [HEFLO](https://app.heflo.com/)
- [Hellonext](https://hellonext.co/)
- [Helprace](https://helprace.com/)
- [Help Scout](http://www.helpscout.net/)
- [Husky](https://www.huskymarketingplanner.com/)
Expand Down
23 changes: 23 additions & 0 deletions src/scripts/content/hellonext.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
'use strict';

togglbutton.render(
'.feedback-wrapper > div:not(.d-flex) .text-muted.smaller:not(.toggl)',
{ observe: true },
function (elem) {
const description = function () {
return document.querySelector('.feedback-wrapper h5.feedback-single-title').textContent;
};

const project = function () {
const projectSelect = document.querySelector('#bucket');
return projectSelect.options[projectSelect.selectedIndex].textContent;
};

const link = togglbutton.createTimerLink({
className: 'hellonext',
description: description,
projectName: project
});

elem.appendChild(link, elem);
});
4 changes: 4 additions & 0 deletions src/scripts/origins.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,10 @@ export default {
url: '*://app.heflo.com/*',
name: 'HEFLO'
},
'hellonext.co': {
url: '*://*.hellonext.co/*',
name: 'Hellonext'
},
'helprace.com': {
url: '*://*.helprace.com/*',
name: 'Helprace'
Expand Down
10 changes: 10 additions & 0 deletions src/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1327,6 +1327,16 @@ li .toggl-button.heflo {
height: 60px;
}

/********* Hellonext *********/
.toggl-button.hellonext {
color: #586069;
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-size: 1em;
margin-left: 0.5rem;
text-decoration: none;
font-weight: 400;
}

/********* SENTRY *********/
.toggl-button.sentry {
margin: 0 auto 20px 10px;
Expand Down