Skip to content

Commit

Permalink
Add CitationKey as a default column (#10510) (#12080)
Browse files Browse the repository at this point in the history
* Add CitationKey to entry table default columns

Part of #10510

* Add note regarding #10510, default addition of CitationKey column

Part of #10510
  • Loading branch information
suftware authored Oct 25, 2024
1 parent 4ce83c4 commit ad491f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
- We added a new CSS style class `main-table` for the main table. [#11881](https://github.com/JabRef/jabref/pull/11881)
- When renaming a file, the old extension is now used if there is none provided in the new name. [#11903](https://github.com/JabRef/jabref/issues/11903)
- We changed the name of the library-based file directory from 'General File Directory' to 'Library-specific File Directory' per issue [#571](https://github.com/koppor/jabref/issues/571)
- The CitationKey column is now a default shown column for the entry table. [#10510](https://github.com/JabRef/jabref/issues/10510)

### Fixed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,8 @@ private JabRefGuiPreferences() {

// region: Main table, main table column, and search dialog column preferences
defaults.put(EXTRA_FILE_COLUMNS, Boolean.FALSE);
defaults.put(COLUMN_NAMES, "groups;group_icons;files;linked_id;field:entrytype;field:author/editor;field:title;field:year;field:journal/booktitle;special:ranking;special:readstatus;special:priority");
defaults.put(COLUMN_WIDTHS, "28;40;28;28;75;300;470;60;130;50;50;50");
defaults.put(COLUMN_NAMES, "groups;group_icons;files;linked_id;field:citationkey;field:entrytype;field:author/editor;field:title;field:year;field:journal/booktitle;special:ranking;special:readstatus;special:priority");
defaults.put(COLUMN_WIDTHS, "28;40;28;28;100;75;300;470;60;130;50;50;50");

defaults.put(SIDE_PANE_COMPONENT_NAMES, "");
defaults.put(SIDE_PANE_COMPONENT_PREFERRED_POSITIONS, "");
Expand Down

0 comments on commit ad491f1

Please sign in to comment.