15 Commits

Author SHA1 Message Date
daveoconnor
69a652d066 Release reports refactor (#1996) (#1999)
Co-authored-by: Greg Kaleka <greg@gregkaleka.com>
2025-12-01 10:27:05 -08:00
daveoconnor
c980879935 Release Report Enhancements (#1750) (#1992) 2025-11-04 14:14:20 -08:00
daveoconnor
0128074a5f Added algolia search metrics to release report (#1889) (#1914) 2025-10-07 09:16:26 -07:00
Greg Kaleka
e3a057120a Docs fixes and fix bug in library import (#1788) 2025-05-19 15:13:22 -04:00
daveoconnor
4b8b554b58 Added override functionality for github issues links (#1594) 2025-01-13 08:34:59 -08:00
daveoconnor
d2ec29fd52 Fill out develop/master branch support (#1583) 2025-01-08 13:26:06 -08:00
daveoconnor
f6a5f4fbcf Make URLs more consistent, refactor libraries/releases (#1489) 2024-11-25 16:08:38 -05:00
Greg Kaleka
5d9da9e486 Code formatting fix (#1437)
Co-authored-by: Greg Kaleka <gkaleka@energy-solution.com>
2024-11-12 16:12:45 -05:00
Greg Kaleka
e9ed0aabc9 Add missing README message (#1350) 2024-11-12 15:51:31 -05:00
Brian Perrett
dc273c4f49 Keep a list of sublibraries and hide them in reports (#1423) 2024-11-11 11:47:21 -08:00
Greg Kaleka
44829f1556 Add category override mapping and use it in library update method (#1411)
Fixes #1034

- Adds a `CATEGORY_OVERRIDES` mapping
- Uses the override in `update_libraries` management command

### Manual testing
- Ran `./manage.py import_versions`
- Ran `./manage.py update_libraries`
- Static String had the correct category
<img width="440" alt="Screenshot 2024-11-04 at 5 24 05 PM"
src="https://github.com/user-attachments/assets/4b0cf4cb-15e2-4337-9284-7659afd40643">

### Post-deploy tasks
- Ensure `update_libraries` is run
- Verify **Container** category is orphaned
- Delete **Container** category

Co-authored-by: Greg Kaleka <gkaleka@energy-solution.com>
2024-11-05 13:49:00 -05:00
daveoconnor
30ab003561 added support for 'release' in urls (#1084) (#1266)
1. added support for 'release' in library urls
2. fixed versioning not working from the non-grid library list pages
3. fixed library detail user selection of versioning not working
4. unified cookie handling to share across both LibraryList and
LibraryDetail
2024-09-24 13:56:13 -07:00
daveoconnor
50559609e9 fixed issues with libraries navigation, refactors (#1213) (#1250)
There's a good amount of refactoring in this, so this is going to look
like a much bigger change than it is. In reality it makes the dispatch
code simpler.

Fixes: 
1. Resolved the issue with the libraries pages not redirecting correctly
2. Resolved an issue around categories not being preserved moving from
page to page.

The issue with the redirects was there was a tug of war on arriving on
/library between the various ways of determining where the user should
end up.
I added a `/libraries/grid/` url and now `/libraries/` determines which
list page the user should end up on based on 1) url 2) cookie, 3) the
default, same for version preference. We can probably get rid of
dispatch() later. This has the added bonus of allowing reliable linking
to a specific list view (e.g. for users to bookmark one type)

Refactors:
1. Separated the navigation on the three library pages into a standalone
template.
2. Moved some constants to constants.py
3. Moved a lot of the views methods which were only used by the
dispatch() call to utils.py .
4. At that stage there were circular imports so I moved the docs
generation functions which were only used in constants.py to
constants_utils.py. utils.py is more general.
2024-09-19 12:06:36 -07:00
Lacey Williams Henschel
958cf1a71c Add logic to skip loading some library-versions 2024-02-20 15:15:13 -08:00
Lacey Williams Henschel
65cfeb2ace Mark libraries that we know are missing docs as such
- Create a constants file for the library exceptions
- Add version docs missing constant and logic
- Add function to check if version docs are missing
- Add range to missing library-version docs
- Add function to check if library-version docs are missing
2024-02-20 13:51:25 -08:00