-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new menu item constants for data, layout, risk, leadership, count…
…ry, decision, ministry, page visit, and admin functionalities
- Loading branch information
Showing
14 changed files
with
429 additions
and
345 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
...ck23/cia/web/impl/ui/application/views/common/menufactory/api/MenuItemAdminConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package com.hack23.cia.web.impl.ui.application.views.common.menufactory.api; | ||
|
||
public interface MenuItemAdminConstants { | ||
String ADMIN_TEXT = "Admin"; | ||
String AGENCY = "Agency"; | ||
String AGENT_OPERATIONS_TEXT = "Agent operations"; | ||
String APPLICATION = "Application"; | ||
String APPLICATION_CONFIGURATION = "System settings"; | ||
String APPLICATION_EVENT = "Application Event"; | ||
String APPLICATION_EVENT_CHARTS = "Application Event charts"; | ||
String APPLICATION_SESSION = "Application Session"; | ||
String APPLICATION_SESSION_CHARTS = "Active Daily Users"; | ||
String SYSTEM_PERFORMANCE = "System Performance"; | ||
String MANAGEMENT = "Management"; | ||
String CONFIGURATION = "Configuration"; | ||
String PORTAL = "Portal"; | ||
String EMAIL = "Email"; | ||
String LANGUAGE = "Language"; | ||
|
||
|
||
/** The Constant DATA_AUTHOR_SUMMARY. */ | ||
String DATA_AUTHOR_SUMMARY = "Data author summary"; | ||
|
||
/** The Constant DATA_SUMMARY_TEXT. */ | ||
String DATA_SUMMARY_TEXT = "Data Summary"; | ||
|
||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
592 changes: 249 additions & 343 deletions
592
...om/hack23/cia/web/impl/ui/application/views/common/menufactory/api/MenuItemConstants.java
Large diffs are not rendered by default.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
...23/cia/web/impl/ui/application/views/common/menufactory/api/MenuItemCountryConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.hack23.cia.web.impl.ui.application.views.common.menufactory.api; | ||
|
||
public interface MenuItemCountryConstants { | ||
String COUNTRY = "Country"; | ||
String COUNTRY_RANKING_TEXT = "Country Ranking"; | ||
String COUNTRY_OVERVIEW_TEXT = "Country Overview"; | ||
String COUNTRY_INDICATORS_SWEDEN = "Country Indicators Sweden"; | ||
String COUNTRY_RANKING_LINK_TEXT = "Country Ranking"; | ||
String COUNTRY_RANKING_DESCRIPTION = "Sweden's governance: key indicators."; | ||
String SWEDEN_DASHBOARD = "Sweden Dashboard"; | ||
} |
6 changes: 6 additions & 0 deletions
6
...ack23/cia/web/impl/ui/application/views/common/menufactory/api/MenuItemDataConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package com.hack23.cia.web.impl.ui.application.views.common.menufactory.api; | ||
|
||
public interface MenuItemDataConstants { | ||
int DATA_POINTS_FOR_YEAR_ABOVE = 2000; | ||
int MINIMUM_NUMBER_DATA_POINTS = 10; | ||
} |
14 changes: 14 additions & 0 deletions
14
...3/cia/web/impl/ui/application/views/common/menufactory/api/MenuItemDecisionConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.hack23.cia.web.impl.ui.application.views.common.menufactory.api; | ||
|
||
public interface MenuItemDecisionConstants { | ||
String DECISION_FLOW = "Decision Flow"; | ||
String DECISION_ACTIVITY_BY_TYPE = "Decision Activity by Type"; | ||
String DECISION_ACTIVITY_DESCRIPTION = "Decision activity description"; | ||
String DECISION_FLOW_DESCRIPTION = "Decision flow description"; | ||
|
||
String DECISION_SUMMARY_TEXT = "Decision Summary"; | ||
String DECISION_SUMMARY_DESCRIPTION = "Decision summary description"; | ||
String DECISION_TYPE_DAILY_SUMMARY_TEXT = "Decision Type Daily Summary"; | ||
String DECISION_TYPE_DAILY_SUMMARY_DESCRIPTION = "Decision type daily summary description"; | ||
String BALLOT_DECISION_SUMMARY_DESCRIPTION = "Ballot decision summary description"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
...cia/web/impl/ui/application/views/common/menufactory/api/MenuItemLeadershipConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.hack23.cia.web.impl.ui.application.views.common.menufactory.api; | ||
|
||
public interface MenuItemLeadershipConstants { | ||
String CURRENT_LEADERS = "Current Leaders"; | ||
String CURRENT_LEADERS_DESCRIPTION = "Current leaders description"; | ||
String LEADER_HISTORY = "Leader History"; | ||
String LEADER_HISTORY_DESCRIPTION = "Leader history description"; | ||
String DESC_LEADERS_SCOREBOARD = "Leaders: comparing party leadership impact."; | ||
String PART_LEADERS_SCOREBOARD = "Party leaders scoreboard"; | ||
} |
15 changes: 15 additions & 0 deletions
15
...3/cia/web/impl/ui/application/views/common/menufactory/api/MenuItemMinistryConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.hack23.cia.web.impl.ui.application.views.common.menufactory.api; | ||
|
||
public interface MenuItemMinistryConstants { | ||
String MINISTRIES_LINK_TEXT = "Ministries"; | ||
String MINISTRY_RANKING = "Ministry Ranking"; | ||
String MINISTRY_RANKING_LINK_TEXT = MINISTRY_RANKING; | ||
String MINISTRY_RANKING_DESCRIPTION = "Ministry influence on policy."; | ||
String MINISTRIES_DESCRIPTION = "All ministries: roles and commitments."; | ||
String MINISTRY_DOCUMENT_ACTIVITY_TEXT = "Document Activity"; | ||
String MINISTRY_OVERVIEW_TEXT = "Overview"; | ||
String MINISTRIES_LEADER_SCOREBOARD = "Government Ministers Scoreboard"; | ||
String MINISTRIES_LEADER_SCOREBOARD_DESCRIPTION = "Cabinet leaders: power and institutional impact."; | ||
String CURRENT_MINISTRIES_CURRENT_MEMBERS_TEXT = "Current Ministries, Current Members"; | ||
String ALL_MINISTRIES_TOTAL_MEMBERS = "All Ministries, Total Members"; | ||
} |
24 changes: 24 additions & 0 deletions
24
.../cia/web/impl/ui/application/views/common/menufactory/api/MenuItemPageVisitConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package com.hack23.cia.web.impl.ui.application.views.common.menufactory.api; | ||
|
||
/** | ||
* Constants for page visit history related menu items. | ||
*/ | ||
public interface MenuItemPageVisitConstants { | ||
String PAGE_VISIT_HISTORY_TEXT = "Page Visit History"; | ||
String DESC_PAGE_VISIT_HISTORY = "Visit history: tracking public engagement patterns."; | ||
|
||
// Ministry related | ||
String MINISTRY_PAGE_VISIT_HISTORY_TEXT = "Page Visit History"; | ||
String MINISTRY_PAGE_VISIT_HISTORY_DESCRIPTION = "View history of page visit for this page."; | ||
|
||
// Document related | ||
String DOCUMENT_PAGE_VISIT_HISTORY_TEXT = "Document Page Visit History"; | ||
|
||
// Country related | ||
String COUNTRY_PAGE_VISIT_HISTORY_TEXT = "Country Page Visit History"; | ||
|
||
|
||
// Government Body related | ||
String GOVERNMENT_BODY_PAGE_VISIT_HISTORY_TEXT = "Government Body Page Visit History"; | ||
String GOVERNMENT_BODY_PAGE_VISIT_HISTORY_DESCRIPTION = "Government body page visit history description"; | ||
} |
28 changes: 28 additions & 0 deletions
28
...cia/web/impl/ui/application/views/common/menufactory/api/MenuItemParliamentConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package com.hack23.cia.web.impl.ui.application.views.common.menufactory.api; | ||
|
||
public interface MenuItemParliamentConstants { | ||
String PARLIAMENT_RANKING_TEXT = "Parliament Ranking"; | ||
String PARLIAMENT_RANKING_LINK_TEXT = "Parliament Ranking"; | ||
String PARLIAMENT_RANKING_DESCRIPTION = "Parliament: legislative effectiveness."; | ||
String SWEDISH_PARLIAMENT_INDICATORS = "Swedish Parliament Indicators"; | ||
|
||
String MINISTRY_DOCUMENT_ACTIVITY_TEXT = "Document Activity"; | ||
|
||
String MINISTRY_OVERVIEW_TEXT = "Overview"; | ||
|
||
// Label constants | ||
String ALL_PARTIES_TOTAL_DAYS_SERVED_IN_PARLIAMENT = "All parties total days served in parliament"; | ||
String CURRENT_PARTIES_ACTIVE_IN_COMMITTEES_HEAD_COUNT = "Current parties in committees"; | ||
String CURRENT_PARTIES_ACTIVE_IN_MINISTRIES_HEAD_COUNT_TEXT = "Current parties in government"; | ||
String CURRENT_PARTIES_ACTIVE_IN_PARLIAMENT_HEAD_COUNT = "Current parties in parliament"; | ||
String PARTY_BY_TOTAL_MEMBERS_BASED_ON_ROLES_IN_DEPARTMENTS_COMMITTEES_AND_PARLIAMENT = "Party by total members across EU/gov/committees/parliament"; | ||
|
||
// Political analyst perspective descriptions (~50 chars) | ||
String DESC_ALL_PARTIES_ROLES = "All parties: influence across key institutions."; | ||
String DESC_GOVERNMENT_HEADCOUNT = "Governing parties: evaluating institutional strength."; | ||
String DESC_COMMITTEES_HEADCOUNT = "Committees: parties' agenda-setting influence."; | ||
String DESC_PARLIAMENT_HEADCOUNT = "Parliament: mapping party legislative leverage."; | ||
String DESC_DAYS_SERVED_PARLIAMENT = "All parties: experience shaping policy timelines."; | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...ack23/cia/web/impl/ui/application/views/common/menufactory/api/MenuItemRiskConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package com.hack23.cia.web.impl.ui.application.views.common.menufactory.api; | ||
|
||
public interface MenuItemRiskConstants { | ||
String RISK_SUMMARY = "Risk Summary"; | ||
String RISK_SUMMARY_DESCRIPTION = "Risk summary description"; | ||
String RULE_VIOLATIONS = "Rule Violations"; | ||
String RULE_VIOLATIONS_DESCRIPTION = "Rule violations description"; | ||
} |
12 changes: 12 additions & 0 deletions
12
...cia/web/impl/ui/application/views/common/menufactory/api/MenuItemStatisticsConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.hack23.cia.web.impl.ui.application.views.common.menufactory.api; | ||
|
||
public interface MenuItemStatisticsConstants { | ||
String HEADCOUNT = "Headcount"; | ||
String HEADCOUNT_CHART = "Headcount Chart"; | ||
String HEADCOUNT_DESCRIPTION = "Headcount description"; | ||
String INCOME = "Income"; | ||
String INCOME_DESCRIPTION = "Income description"; | ||
String EXPENDITURE = "Expenditure"; | ||
String EXPENDITURE_DESCRIPTION = "Expenditure description"; | ||
String TOTAL_MEMBERS = "Total members"; | ||
} |