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

swiping through images in viewer widget #117

Merged
merged 29 commits into from
Feb 21, 2024
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
3e90529
swiping through images
JakubSerafin Dec 13, 2023
d94c4bf
first passing test
JakubSerafin Dec 15, 2023
768f034
Merge remote-tracking branch 'origin/master' into feature/image-viewe…
JakubSerafin Jan 23, 2024
670eeba
tree first test working
JakubSerafin Jan 24, 2024
3149f7c
Refactor widget setup and add custom widget mapping
JakubSerafin Jan 24, 2024
e0f5047
tests for empty image
JakubSerafin Jan 24, 2024
d3e4dee
Add image navigation functionality tests with multimage scenario
JakubSerafin Jan 24, 2024
a90ac07
swype tests
JakubSerafin Jan 25, 2024
de1f7c7
Remove redundant CSS styles commited by mistake, a bit of ode cleanup…
JakubSerafin Jan 26, 2024
70d6f53
Update package.json dependencies
JakubSerafin Jan 26, 2024
07e8530
post code review fixes
JakubSerafin Feb 5, 2024
e7783f2
Fix missing newline at end of file in script.js
JakubSerafin Feb 5, 2024
ec38efc
Add styling to button and body
JakubSerafin Feb 5, 2024
93465ba
styuling improvments and hidding buttons when touchscreen (mobile) is…
JakubSerafin Feb 5, 2024
41915f4
Update drop-shadow filter in index.html
JakubSerafin Feb 5, 2024
9907c21
refactor undo method in gristWebDriverUtils.ts
JakubSerafin Feb 5, 2024
45237dc
Add lodash.escaperegexp dependencies
JakubSerafin Feb 5, 2024
0e2b751
Add/update devDependencies in package.json
JakubSerafin Feb 5, 2024
93ea31c
set repository to registry.yarnpkg.com
JakubSerafin Feb 5, 2024
2845dba
linting, formating
JakubSerafin Feb 8, 2024
d7494f4
fixing problem with mocha firefox headless
paulfitz Nov 28, 2023
47aeea5
Update test/init-mocha-webdriver.ts
JakubSerafin Feb 14, 2024
fea7c44
test for switching diffrent state of imageviewer
JakubSerafin Feb 14, 2024
20432bf
refactor
JakubSerafin Feb 14, 2024
a39429c
more refactor
JakubSerafin Feb 14, 2024
06eed2c
even more refactor
JakubSerafin Feb 14, 2024
e8a08bc
navigation button will disapear when navigating from mult image to none
JakubSerafin Feb 14, 2024
2cbc719
Merge remote-tracking branch 'origin/feature/image-viewer-multi-image…
JakubSerafin Feb 14, 2024
9d8a672
cursor change to pointer on image navigation buttons, also test focus…
JakubSerafin Feb 19, 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
Add styling to button and body
  • Loading branch information
JakubSerafin committed Feb 5, 2024
commit ec38efcf790df90573779098049c0ff406df5801
29 changes: 29 additions & 0 deletions viewer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,40 @@
}
.btn{
width: 50%;
color: var(--grist-theme-text);
background-color: var(--grist-theme-button-group-bg);
padding: 4px 10px;
outline: none;
display: inline-block;
margin-bottom: 0;
font-size: 14px;
font-weight: 400;
line-height: 1.42857143;
text-align: center;
white-space: nowrap;
vertical-align: middle;
-ms-touch-action: manipulation;
touch-action: manipulation;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
border: 1px solid var(--grist-theme-button-group-border);
border-radius: 4px;
border-top: none;

}

.btn:hover {
background-color: var(--grist-theme-hover);
border-color: var(--grist-theme-button-group-border-hover);
}

body{
display: flex;
flex-direction: column;
overflow: hidden;
}

</style>
Expand Down