Browse Source

style(RoadMap) Removing status and priority from roadmap. Changing its style

main
Jonathan McCaffrey 4 years ago
parent
commit
2feea62921
  1. BIN
      IGP/Database.db
  2. 45
      IGP/Pages/RoadMap/Parts/RoadMapComponent.razor
  3. 4
      IGP/Pages/RoadMap/RoadMapPage.razor
  4. 2
      IGP/wwwroot/generated/AgileTaskModels.json
  5. 20
      Model/RoadMap/ImmortalRoadMapModel.cs

BIN
IGP/Database.db

Binary file not shown.

45
IGP/Pages/RoadMap/Parts/RoadMapComponent.razor

@ -1,50 +1,9 @@
<div class="roadMapContainer @RoadMap!.Status.ToLower()">
<PanelComponent>
<div class="roadMapTitle">@RoadMap.Name</div>
<div>
<b>Priority:</b> @RoadMap.Priority.Replace("_", " ")
</div>
<div>
<b>Status:</b> @RoadMap.Status.Replace("_", " ")
</div>
<div>@((MarkupString)RoadMap.Description)</div>
</div>
</PanelComponent>
<style>
.roadMapContainer {
display: flex;
flex-direction: column;
border: 2px solid black;
border-radius: 8px;
padding: 16px;
width: 100%;
gap: 10px;
padding-bottom: 26px;
max-width: 420px;
}
.roadMapContainer.@ReleaseStatusType.In_Development.ToLower() {
border-color: #030129;
background-color: #2c3a4c;
}
.roadMapContainer.@ReleaseStatusType.Cancelled.ToLower() {
border-color: #290102;
background-color: #290102;
}
.roadMapContainer.@ReleaseStatusType.Done.ToLower() {
border-color: #042901;
background-color: #2E4C2C;
}
.roadMapContainer.@ReleaseStatusType.Future_Possibility.ToLower() {
border-color: #2a2000;
background-color: #ffbf0029;
}
.roadMapContainer.@ReleaseStatusType.Planned.ToLower() {
background-color: var(--paper);
}
.roadMapTitle {
font-weight: 800;

4
IGP/Pages/RoadMap/RoadMapPage.razor

@ -2,7 +2,7 @@
@page "/roadmap"
<LayoutLargeContentComponent>
<LayoutMediumContentComponent>
<WebsiteTitleComponent>Road Map</WebsiteTitleComponent>
<div class="roadMapsContainer">
@ -11,7 +11,7 @@
<RoadMapComponent RoadMap=roadMap/>
}
</div>
</LayoutLargeContentComponent>
</LayoutMediumContentComponent>
<style>
.roadMapsContainer {

2
IGP/wwwroot/generated/AgileTaskModels.json

File diff suppressed because one or more lines are too long

20
Model/RoadMap/ImmortalRoadMapModel.cs

@ -21,7 +21,7 @@ public class ImmortalRoadMapModel
Description =
@"The Calculator will be optimized to perform faster. It needs to be updated to consider training queue limits. Also, it needs error popups added for not enough ether, not enough supply, or no more interval time.",
Priority = ReleasePriorityType.High,
Status = ReleaseStatusType.Planned
Status = ReleaseStatusType.In_Development
},
new ImmortalRoadMapModel
{
@ -45,7 +45,7 @@ public class ImmortalRoadMapModel
Description =
@"There should be general notes on how to play Immortal. Nothing too extensive, but general faction and gameplay feel, like mentioning mechanics like Overgrowth for Aru and Wards for Q'Rath. Interesting but basic lore notes are also ideal, but all of these notes still need to be sortable in a method that feels natural, not a giant text bloat.",
Priority = ReleasePriorityType.High,
Status = ReleaseStatusType.Planned
Status = ReleaseStatusType.In_Development
},
new ImmortalRoadMapModel
{
@ -62,22 +62,6 @@ public class ImmortalRoadMapModel
@"All patches should be tested via test automation, to avoid obvious bugs from getting into production. Add a informational test automation page to the Development section.",
Priority = ReleasePriorityType.Medium,
Status = ReleaseStatusType.Planned
},
new ImmortalRoadMapModel
{
Name = "Hot Key Reference",
Description =
@"Assuming the game continues to use Unreal-based hotkeys, there should be a reference for viewing and generating hotkey templates. Perhaps link to community hotkey files for people that do not wish to write their own.",
Priority = ReleasePriorityType.Low,
Status = ReleaseStatusType.Future_Possibility
},
new ImmortalRoadMapModel
{
Name = "Data Features",
Description =
@"Being able to save and load the state of the website would be cool. User's would keep all the data as JSON on their local machine, and just be able to load it when visiting the website. Being able to use the website offline would also be cool. People would only visit the live website to get updates. Perhaps offline website could do a check for this update version.",
Priority = ReleasePriorityType.Very_Low,
Status = ReleaseStatusType.Future_Possibility
}
};

Loading…
Cancel
Save