aboutsummaryrefslogtreecommitdiffstats
path: root/templates/rrs/recipes.html
AgeCommit message (Collapse)Author
2018-05-04rrs: add flag to MaintenancePlan to specify layer-wide maintainersPaul Eggleton
Most layers do not track maintenance on a per-recipe basis, and for those layers we will hide some of the per-recipe maintainer features and on the recipe detail show the layer maintainer(s) as the maintainer(s) of the recipe. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2018-05-04rrs: add patch listing to recipe list and detailPaul Eggleton
Expose the newly added patch information in the RRS: * Add a table to the recipe detail listing the patches for the recipe * Add pending / total counts to the recipe list page Implements [YOCTO #7909]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2018-05-04rrs: add titles to maintainers/recipes pagePaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2018-05-04rrs: handle maintenance plans in viewsPaul Eggleton
Insert maintenance plan into views, their corresponding URLs and templates. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2018-05-04Rename RRS URLs to have rrs_ prefixPaul Eggleton
Make these distinct from the layerindex ones. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2018-05-04Drop "load url from future"Paul Eggleton
This is no longer needed with current Django versions. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2018-05-04Show the 'Upstream version' column only when relevantBelen Barros Pena
Currently the recipes table always shows the 'Upstream version' column. However, for recipes up-to-date, this column is irrelevant, since for such recipes 'version' always equals 'upstream version'. Since the vast majority of the recipes are up-to-date, when you are showing all the recipes the 'upstream version' column is also pretty useless. The column is only really relevant when you are looking at recipes with status 'not updated' or 'can't be updated'. I would have thought there would be nothing to show in the 'Upstream version' column for recipes with status 'Unknown', but it turns out some of those do have an upstream version value, that I thought might be useful to the maintainer somehow. So, this patch hides the 'Upstream version' column whenever you are looking at all the recipes or up-to-date recipes; and shows it when you select any of the other recipe statuses Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
2018-05-04rrs/recipes: Add support for persist search and filters.Aníbal Limón
Now when search something the URL is modified and you can share the URL for access to the data. [YOCTO #7809] Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04templates/rrs/recipes.html: Re-add the sort property into Maintainer.Aníbal Limón
When last updated colum comes we lost the sort property. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04rrs: avoid too many columns in the recipes tableBelen Barros Pena
Currently, when you select 'Can't be updated' in the upstream status filter, the resulting table will add the 'No update reason' column to the default column set. Although this is probably useful information to see in the table itself, it results in too many columns, and a rather unpleasant layout change. This patch hides the 'Summary' column whenever you select 'Can't be updated' in the upstream status filter, effectively replacing the 'Summary' with the 'No update reason' column, which is probably more relevant in this context. Now you have less columns distracting you, and a slightly less jumpy layout change. A designer would have come up with this solution in the first place. Sadly, she was never asked. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04rrs: remove sorting from the 'No update reason' columnBelen Barros Pena
Nothing useful can come from sorting by this column. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04recipes.html: Format change for last updated columnMariano Lopez
This changes the format of the last updated column. Now the column text is set to the default text color. [YOCTO #8018] Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
2018-05-04recipes.html: Add Last Updated columnMariano Lopez
Added a column in the recipes view that show the last time a recipe was updated when is not up-to-date Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04views.py: Add how long a recipe hasn't been updatedMariano Lopez
This add a tooltip in the upstream status field that show how long the recipe hasn't been updated. Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04templates/rrs: Recipes and Maintainers UI search improvmentsAníbal Limón
Display button without btn-info to give consistency in the UI. Don't display clear search button when search isn't active. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04templates/rrs/recipes.html: Only apply sort to Recipe column at loadAníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04templates/rrs/recipes.html: Fix url params in JSAníbal Limón
Add parse with HTML entity to avoid problems when parameters passed in URL to JS. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04rrs: UI add clear search button in Recipes and MaintainersAníbal Limón
This enables the user to clear current search content and restore the orginial status. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04rrs: Add support to display no update reasonAníbal Limón
Display no update reason when upstream status filter is Can't be updated this helps to review the reason. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04rrs: Add support to display sort status Recipes and Maintainers UIAníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04rrs: Recipes frontend improvments clean search when select filterAníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04templates/rrs/{recipes, maintainers}.html: Improvment in alert div no recordsAníbal Limón
Add default display:none to alert div of no records this avoid view this div at initial load because JS takes time to process the table and hide it if records are found. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04rrs: Add support for ReleaseAníbal Limón
Now Recipes and Maintainers page can be access by Release and Milestone, to support this a url namespace was add also update views/templates handle new URL's. rrs/models.py: Add support model for store Release also foregin key in Milestone. rrs/admin.py: Add admin site for Release model. rrs/fixtures/initial_data.json: Add initial data with Release/Milestone relation. rrs/{views, urls}.py: Add support for handle Release/Milestone. templates/rrs: Update to handle new URL's. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04templates/rrs/recipes.html: Add button for searchAníbal Limón
Add button for search instead of did with keyUp function in the input this avoid overprocessing and icrements usability. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04rrs: Maintainers page fix maintainer countAníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04rrs: Improve recipes filteringAníbal Limón
Now filter recipes are done by JS this avoid to made request for every change in the filters also add support for share filters between pages. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04rrs: Add support for display Can't be updated recipe upstream status.Aníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04rrs: Frontend improvmentsAníbal Limón
templates/rrs/base_toplevel.html: Disable top functions. templates/rrs/recipedetail.html: Fix class type for different upstream status and better display of recipe info don't display element if no have content. rrs/views.py: Don't display percentages with two decimals and separate filters for set and elements. templates/rrs/recipes.html: Add support for display filters with set and element separation. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04rrs: Add support for filter in recipes page.Aníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04rrs: Recipes page improve table displayAníbal Limón
Improve CSS in order to handle column width better also use styles to display upstream status column. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04rrs: Add support for Recipe detail pageAníbal Limón
Recipe detail page gives information about Recipe like summary, section, license, file, etc. also display's upgrade history. rrs/models.py: Milestone add get_by_date and rewrite get_current for use get_by_date and RecipeDistro add get_distros_by_recipe. rrs/urls.py: Add url for recipe_detail with pk. rrs/views.py: Add RecipeUpgradeDetail view. templates/rrs/recipedetail.html: Add recipedetail template. templates/rrs/recipes.html: Add link to Recipe detail by row. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04rrs: Add initial support of recipes pageAníbal Limón
templates/rrs/base_toplevel.html: Add support for display statistics by Milestone. templates/rrs/recipes.html: Add initial page that display Recipe status by Milestone also details of every recipe. rrs/views.py: Add RecipeLitView for support recipes page. rrs/models.py: Add helper functions. rrs/static/*: Add css and js resources. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2018-05-04rrs: Add milestone selection bar for recipes and milestone.Aníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>