Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature history view #47

Open
wants to merge 112 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
8ed0a29
Initial commit
Kuzzi04 Dec 21, 2023
4287f00
requestHandling
Kuzzi04 Jan 2, 2024
7ae2363
added feature Annotation with HAnS
Kuzzi04 Jan 2, 2024
5d23dc4
removed hans dependency
Kuzzi04 Jan 2, 2024
6f0f74f
changed Index.html and css
HerrKermet Jan 2, 2024
96eb276
removed hans dependency
Kuzzi04 Jan 2, 2024
8d382e3
bugfix
HerrKermet Jan 2, 2024
e285d5d
bugfix
HerrKermet Jan 2, 2024
e8fd30d
workaround for runIde task
Kuzzi04 Jan 3, 2024
454886c
workaround for runIde task 2.0
Kuzzi04 Jan 3, 2024
102f844
added functionality to run javascript functions from plugin.
Kuzzi04 Jan 3, 2024
9ad5951
added TODO
Kuzzi04 Jan 3, 2024
0b55ad8
added loading animation while initial indexing
HerrKermet Jan 3, 2024
d354718
added sidepanel
HerrKermet Jan 3, 2024
edb325f
added comments
Kuzzi04 Jan 4, 2024
4fb4ec0
added comments
Kuzzi04 Jan 4, 2024
8183d3b
added comments
Kuzzi04 Jan 4, 2024
882d217
added comments
Kuzzi04 Jan 4, 2024
3dee2e0
added searchbar
HerrKermet Jan 4, 2024
f35a64e
Merge remote-tracking branch 'origin/browserWindowSetup' into browser…
HerrKermet Jan 4, 2024
a2de511
Plotting Tangling with response through "TEST"-Button
Kuzzi04 Jan 4, 2024
bf2a021
cleaning up
Kuzzi04 Jan 4, 2024
db10c6f
adjusted burgermenu
HerrKermet Jan 4, 2024
db315c2
index3.html + main2.js + style3.css new browser layout
Kuzzi04 Jan 5, 2024
9ddb84c
added selection for treemap
HerrKermet Jan 6, 2024
9da9c10
adjusted loadingscreen hint
HerrKermet Jan 6, 2024
2921f4c
added prototype for featureInfoWindow
HerrKermet Jan 6, 2024
d910697
adjusted prototype for featureInfoWindow
HerrKermet Jan 6, 2024
fe166ff
added autofocus on searchbar.open
HerrKermet Jan 7, 2024
4f17fca
refactored main2 and index3
HerrKermet Jan 8, 2024
b67a503
moved function from HAnS to HAnS-viz JSONHandler.java
HerrKermet Jan 8, 2024
15e2e1e
added new searchalgorithm
HerrKermet Jan 8, 2024
4db9714
Browser UI fixes
Kuzzi04 Jan 9, 2024
7ac9e0e
Added first version of feature-info-window
Kuzzi04 Jan 9, 2024
878de8e
feature-info-window
Kuzzi04 Jan 9, 2024
990982b
timestamp
Kuzzi04 Jan 9, 2024
e69f1a2
added css for featureWindow
HerrKermet Jan 9, 2024
2620eb7
Merge remote-tracking branch 'origin/browserWindowSetup' into browser…
HerrKermet Jan 9, 2024
0b3e026
added icons to featureWindow
HerrKermet Jan 9, 2024
40c3ea8
clean up index.html + main.js + style.css
Kuzzi04 Jan 12, 2024
a8791dd
fixed initialization
Kuzzi04 Jan 12, 2024
7a584ce
build-settings for installation
Kuzzi04 Jan 12, 2024
66dfef3
added scattering window + button in feature info window
Kuzzi04 Jan 12, 2024
6a1c8d7
Added ToolWindowListener for "ToolWindow = open"-detection
Kuzzi04 Jan 13, 2024
027e0b3
Added feature: Fetching data after reopening tool window
Kuzzi04 Jan 13, 2024
50da1f1
Scattering Window closes with click anywhere but inside the window
Kuzzi04 Jan 13, 2024
886c071
added backdrop to scattering window
HerrKermet Jan 13, 2024
f0b470e
added different colors for each first level child
HerrKermet Jan 13, 2024
9613e73
added toggle for hide lpq names
HerrKermet Jan 13, 2024
8a4bc24
added fetchintervall logic
HerrKermet Jan 13, 2024
5282985
adjusted node repulsion and label position for non-circular graph
HerrKermet Jan 13, 2024
021a457
adjusted edge length for non-circular graph
HerrKermet Jan 13, 2024
b3aa826
adjusted line width
HerrKermet Jan 13, 2024
ab9f785
fixed searchbar issues
HerrKermet Jan 14, 2024
21fcf2c
implemented scattering window prototype
HerrKermet Jan 14, 2024
6b98b75
Cleanup
HerrKermet Jan 14, 2024
11d9fc9
refactoring and cleanup
HerrKermet Jan 14, 2024
1440446
added feature annotations
HerrKermet Jan 14, 2024
60760d0
Added README.md + CONTRIBUTORS.md
Kuzzi04 Jan 14, 2024
0080e8a
README.md fix
Kuzzi04 Jan 14, 2024
48dab7d
Changed import of HAnSCallback, because of change in origin.
Kuzzi04 Jan 15, 2024
b46a5a2
fixed feature location line-count within JSONHandler.java
HerrKermet Jan 15, 2024
3a1baa6
error-handling for null exception in JSONHandler.java
HerrKermet Jan 15, 2024
f21e094
adjusted scattering window prototype
HerrKermet Jan 15, 2024
447d7ff
fixed hiding scattering window
Kuzzi04 Jan 15, 2024
1e22771
adjusted search highlighting
HerrKermet Jan 15, 2024
51e3783
bugfix settings switch will now reload the chart
HerrKermet Jan 15, 2024
2aa682d
added toolWindow Icon
Kuzzi04 Jan 16, 2024
135eef9
updated gradleIntellijPlugin -> 1.16.1
Kuzzi04 Jan 16, 2024
8e1d5b4
updated org.gradle.toolchains.foojay-resolver-convention -> 0.8.0
Kuzzi04 Jan 16, 2024
b2b09a6
improved search
HerrKermet Jan 16, 2024
875a887
improved search
HerrKermet Jan 16, 2024
e3b254a
Updated JSONHandler with changes on HAnS plugin (FeatureService)
Kuzzi04 Jan 17, 2024
16f9f1c
Added plugin Icon and changed Toolwindow name
Kuzzi04 Jan 17, 2024
dfecba0
Retrieving current project from Services and Listeners, not from Proj…
Kuzzi04 Jan 18, 2024
f2ff0fd
added prototype to highlight feature in featuremodel on rightclick
HerrKermet Jan 18, 2024
9bf5eed
implemented changes from HAnS FeatureFileMapping
HerrKermet Jan 18, 2024
ee25026
updated JSON to accept fullPath and only fileName for charts
HerrKermet Jan 18, 2024
513a3c9
changed tooltip positin in scattering window view
HerrKermet Jan 18, 2024
a14da28
Made JSONHandler non-static.
Kuzzi04 Jan 19, 2024
8c08fcf
fixed "Scattering"-position of scattering window
Kuzzi04 Jan 19, 2024
9d75601
using convenient method of HAnS
Kuzzi04 Jan 19, 2024
f12cb60
Highlight Feature Location in Editor
Kuzzi04 Jan 19, 2024
05fcd60
moved eChart eventListeners to function
HerrKermet Jan 19, 2024
799a610
added clickable elements in scattering window and searchsettings
HerrKermet Jan 19, 2024
629318a
Changed import settings
Kuzzi04 Jan 20, 2024
bea94c2
enabled cursor as pointer and made highlighting of clickable a little…
Kuzzi04 Jan 20, 2024
1655290
removed prints
HerrKermet Jan 20, 2024
10e45f6
formatted index.html
HerrKermet Jan 20, 2024
7a5dc92
changed formatter style of scattering chart
HerrKermet Jan 20, 2024
23bf193
changed formatter style of scattering chart
HerrKermet Jan 20, 2024
000cc54
Update README.md
HerrKermet Jan 20, 2024
a031684
fixed settingsbox
Kuzzi04 Jan 21, 2024
a4b1641
Added Contributor-Info
HerrKermet Jan 21, 2024
3c06815
fixed scattering-window background
Kuzzi04 Jan 21, 2024
73c8c4e
updated README.md
Kuzzi04 Jan 21, 2024
f18f354
Update README.md
Kuzzi04 Jan 21, 2024
4555348
updated plugin.xml vendor
Kuzzi04 Feb 1, 2024
e83038e
added background color
HerrKermet Feb 5, 2024
a36e641
enable light mode per default
Kuzzi04 Feb 6, 2024
69faf3b
Refactoring to adapt to new services / changes of HAnS
HerrKermet Sep 9, 2024
b4385bf
Added Feature History View
RimanHoubbi Sep 26, 2024
3357d7e
Remove unnecessary code
RimanHoubbi Sep 26, 2024
ac7d018
Added a Features selector to the timeline
RimanHoubbi Sep 26, 2024
3596724
fix series data
RimanHoubbi Sep 28, 2024
23cb1f2
fix tooltip for filtering features
RimanHoubbi Sep 29, 2024
9702f86
Restructured code
RimanHoubbi Oct 12, 2024
db0bd3c
Restructured a bit
RimanHoubbi Oct 31, 2024
079cc70
fix
RimanHoubbi Nov 5, 2024
2eb8afc
fix& add features deselect button
RimanHoubbi Nov 6, 2024
2c4e0b0
fix build workflow
RimanHoubbi Nov 21, 2024
5e43b96
fix jar file
RimanHoubbi Nov 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added searchbar
adjusted chart size
HerrKermet committed Jan 4, 2024
commit 3dee2e08884fbdfdc3c877d41259cbcb58c88818
8 changes: 7 additions & 1 deletion src/main/resources/webcontent/css/style.css
Original file line number Diff line number Diff line change
@@ -46,6 +46,12 @@ button {
color: white;*/
}

#searchbar {
margin-top: 1vh;
margin-bottom: 1vh;
margin-left: auto;
}

/*SIDEBAR*/

.sidepanel {
@@ -80,7 +86,7 @@ button {
}

.openbtn {
margin-left: auto;
margin-left: 0;
font-size: 20px;
cursor: pointer;
background-color: #111;
1 change: 1 addition & 0 deletions src/main/resources/webcontent/index.html
Original file line number Diff line number Diff line change
@@ -15,6 +15,7 @@
<img src="./img/pluginIcon.png" alt="HAnS-Viz">
</div>
<button id="testButton">TEST</button>
<input id="searchbar" placeholder="search...">
<button class="openbtn" onclick="toggleNav()">☰</button>
</div>
<div id="main" class="dark-mode"></div>
32 changes: 28 additions & 4 deletions src/main/resources/webcontent/js/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var testButton = document.getElementById("testButton");

var chartDom = document.getElementById('main');
var searchbar = document.getElementById("searchbar");

const state = {
isInitialized: false,
@@ -45,6 +45,20 @@ window.addEventListener('resize', function() {
myChart.resize();
});

searchbar.addEventListener("keypress", function(event) {
if(event.key === "Enter"){
let input = searchbar.value;
highlightItem(input);
}
});

searchbar.onkeyup = function(){
if(searchbar.value === ""){
highlightItem("");
}
}


// TODO THESIS: This function gets called by HAnsDumbModeListener after finishing indexing. display style from main should be changed
function startPlotting() {

@@ -64,15 +78,20 @@ function startPlotting() {
initialized = true;
}

function highlightItem(){


function highlightItem(input){

myChart.dispatchAction({
type: "downplay",
seriesIndex: 0
});

if(input === "")
return;
myChart.dispatchAction({
type: "highlight",
name: "test"
name: input
})
}

@@ -140,6 +159,7 @@ function openTanglingView(){
rotateLabel: true
},
data: snakeTangling().features.map(node => {
/*TODO THESIS dont grow linear*/
node["symbolSize"] = node.tanglingDegree * 20 + 20;
return node;
}),
@@ -164,6 +184,7 @@ function openTanglingView(){
lineStyle: {
curveness: 0.3
},
zoom: 0.7,
emphasis: {
focus: 'adjacency',
label: {
@@ -250,7 +271,7 @@ function openTreeView(){
name: 'tree1',
data: getFeatureJson().features,
top: '10%',
left: '8%',
left: '20%',
bottom: '22%',
right: '20%',
symbolSize: 7,
@@ -260,6 +281,9 @@ function openTreeView(){
lineStyle: {
width: 2
},
itemStyle: {
color: "#ff0000"
},
label: {
backgroundColor: getTextColor(true),
color: getTextColor(),