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

FIX: Refactor comment sorting order mechanism and markdown summary output order #53

Merged
merged 1 commit into from
Jan 22, 2024
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
2 changes: 1 addition & 1 deletion src/background/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ async function filterTicket() {
// Comment collecting loop section
// *******************************
const rlimit = 25; // Max number of requests to make.
const firstPage = `https://${url.hostname}/api/v2/tickets/${ticketID}/comments`; // URL of the first page of comments.
const firstPage = `https://${url.hostname}/api/v2/tickets/${ticketID}/comments?sort_order=desc`; // URL of the first page of comments.
let nextPage = firstPage; // URL of the next page of comments.
let r = 1; // Number of requests made.

Expand Down
2 changes: 1 addition & 1 deletion src/popup/popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ h3.list-header {

ul.list-links, ul.list-attachments {
display: flex;
flex-direction: column-reverse;
flex-direction: column;
}

li.list-item-links, li.list-item-attachments {
Expand Down