File tree Expand file tree Collapse file tree 4 files changed +7
-20
lines changed
javascript/css/components Expand file tree Collapse file tree 4 files changed +7
-20
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
---
2
2
title: Progressive Web Apps on Rails Showcase
3
- layout: showcase
3
+ layout: article
4
4
---
5
5
< section class ="pwa:hidden ">
6
6
< h2 class ="anchor text-xl text-joy-text font-bold mb-2 "> How to use this resource</ h2 >
Original file line number Diff line number Diff line change 6
6
transform : translateX (-50% );
7
7
8
8
width : max-content;
9
+ }
9
10
10
- & __message {
11
- @apply text-sm p-4 text-white rounded-md font-semibold bg-joy-bg-active;
12
- animation : appear-then-fade 4s both;
13
- }
11
+ .flash__message {
12
+ @apply text-sm p-4 text-white rounded-md font-semibold bg-joy-bg-active;
13
+ animation : appear-then-fade 4s both;
14
14
}
Original file line number Diff line number Diff line change 8
8
end
9
9
10
10
it "renders the Install to Homescreen button" do
11
- Flipper . enable ( :pwa_showcase_navigation )
12
-
13
- visit "/"
14
-
15
- click_link "Progress Web Apps on Rails Showcase"
11
+ visit "/pwa-showcase"
16
12
17
13
expect ( page ) . to have_button ( "Install to Homescreen" )
18
14
end
23
19
end
24
20
25
21
it "renders the Install to Homescreen button" do
26
- Flipper . enable ( :pwa_showcase_navigation )
27
-
28
- visit "/"
22
+ visit "/pwa-showcase"
29
23
30
- click_link "Progress Web Apps on Rails Showcase"
31
24
click_link "Install to Homescreen"
32
25
33
26
expect ( page ) . to have_content ( "PWA installation is not currently supported in Firefox on desktop." )
You can’t perform that action at this time.
0 commit comments