Skip to content

Commit

Permalink
update ui
Browse files Browse the repository at this point in the history
  • Loading branch information
hermosillajelmy committed Aug 2, 2024
1 parent 18f40a4 commit 5b9c82e
Show file tree
Hide file tree
Showing 8 changed files with 245 additions and 56 deletions.
2 changes: 1 addition & 1 deletion build-explorer/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const config = {
},
clearScreen: false,
define: {
'process.env.__SERVER_LOCALE__': JSON.stringify(`en,es,fr`),
'process.env.__SERVER_LOCALE__': JSON.stringify(`en`),
'process.env.__SERVER_URL__': JSON.stringify(serverUrl),
'process.env.__UI_LOCALE__': JSON.stringify(`en`),
},
Expand Down
122 changes: 122 additions & 0 deletions explorer/assets/index-4922982c.js

Large diffs are not rendered by default.

115 changes: 115 additions & 0 deletions explorer/assets/index-legacy-229ca80c.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions explorer/assets/vizbuilder-f4715974.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions explorer/assets/vizbuilder-legacy-6ffafa1e.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions explorer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="icon" href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII=" type="image/x-icon" />
<style type="text/css">html,body{margin:0;padding:0}</style>
<script type="module" crossorigin src="./assets/index-05c52edf.js"></script>
<script type="module" crossorigin src="./assets/index-4922982c.js"></script>
<link rel="modulepreload" crossorigin href="./assets/extras-2ba1cc58.js">
<link rel="stylesheet" href="./assets/index-9d9ae4af.css">
<script type="module">import.meta.url;import("_").catch(()=>1);async function* g(){};if(location.protocol!="file:"){window.__vite_is_modern_browser=true}</script>
<script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy chunks, syntax error above and the same error below should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script>
</head>
<body><div id="app" style="height: 100vh"><p id="warning" style="padding:10% 0;text-align:center">If you see this message, it means the root of the server is set incorrectly.<br/>Tell the system administrator to point the root to the <code>dist/</code> folder.</p></div> <script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
<script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-81a97fa2.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/index-legacy-41dff41e.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/index-legacy-229ca80c.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body>
</html>
52 changes: 1 addition & 51 deletions schema/ipeds_completions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,60 +59,10 @@
<Annotation name="details">Number of awards or degrees conferred</Annotation>
</Measure>

<!--<Measure name="Number Of Universities" key_column="university" aggregator="distinct-count">
<Measure name="Number Of Universities" key_column="university" aggregator="count"><!--distinct-count-->
<Annotation name="details">Number of distinct universities aggregated</Annotation>
<Annotation name="aggregation_method">distinct-count</Annotation>
<Annotation name="units_of_measurement">Universities</Annotation>
</Measure>
<CalculatedMember dimension="Measures" name="All Completions At University" visible="false">
<Formula>
<![CDATA[
(Measures.[Completions],
[CIP].[CIP].[All CIPs])
]]>
</Formula>
</CalculatedMember>
<CalculatedMember dimension="Measures" name="Completions Share Of University" visible="true">
<Annotations>
<Annotation name="units_of_measurement">Percentage</Annotation>
<Annotation name="details">The completions in a particular course at a university divided by the total completions in the university across all courses.</Annotation>
<Annotation name="hide_in_ui">true</Annotation>
<Annotation name="hide_in_map">true</Annotation>
</Annotations>
<Formula>
<![CDATA[
IIF([Measures].[All Completions At University] > 0,
[Measures].[Completions] / [Measures].[All Completions At University], NULL)
]]>
</Formula>
</CalculatedMember>
<CalculatedMember dimension="Measures" name="Completions Previous" visible="false">
<Annotations>
<Annotation name="details">Completions from 1 year ago.</Annotation>
</Annotations>
<Formula>
<![CDATA[
(ParallelPeriod([Year].[Year].[Year], 1, [Year].[Year].CurrentMember), [Measures].[Completions])
]]>
</Formula>
</CalculatedMember>
<CalculatedMember dimension="Measures" name="Completions Growth" visible="true">
<Annotations>
<Annotation name="units_of_measurement">Growth</Annotation>
<Annotation name="details">1-year growth rate in degrees completed.</Annotation>
</Annotations>
<Formula>
<![CDATA[
IIF([Measures].[Completions Previous] > 0 AND [Measures].[Completions] >= 0,
([Measures].[Completions] - [Measures].[Completions Previous]) / [Measures].[Completions Previous],
NULL
)
]]>
</Formula>
</CalculatedMember>-->
</Cube>
</Schema>
4 changes: 2 additions & 2 deletions schema/ipeds_enrollment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
<Annotation name="units_of_measurement">People</Annotation>
</Measure>

<!--<Measure name="Number Of Institutions" key_column="num_enrolled" aggregator="distinct-count">
<Measure name="Number Of Institutions" key_column="num_enrolled" aggregator="count"> <!--distinct-count-->
<Annotation name="units_of_measurement">Universities</Annotation>
</Measure>-->
</Measure>
</Cube>
</Schema>

0 comments on commit 5b9c82e

Please sign in to comment.