Fernando Valverde
0dc2a6860e
Adds a default value to the shell version cache response in case it returns undefined ( #9250 )
2020-07-14 12:09:19 +02:00
Michael Kohl
b4bfcd3ebc
SiteConfig view refactoring ( #9286 )
...
* Clean up payment pointer in top shell
* Simplify handling of social media icons
* Also guard against empty strings
* Only traverse hash once
2020-07-14 11:55:57 +02:00
rhymes
5affc7c08c
[deploy] Revert "Rubocop: fix Performance/OpenStruct ( #9241 )" ( #9291 )
...
This reverts commit 101cca4a68 .
2020-07-13 17:22:58 +02:00
rhymes
101cca4a68
Rubocop: fix Performance/OpenStruct ( #9241 )
...
* Fix Performance/OpenStruct in Article and Organization
* Fix Performance/OpenStruct in Notifications::Reactions::Send
* Add missing rubocop disable for Performance/OpenStruct
* Fix serialization
2020-07-11 10:13:18 +02:00
rhymes
8126c5c2c1
Rubocop: Address Metrics/BlockLength violations ( #9246 )
...
* Address Metrics/BlockLength violations
* Add jbuilder to package auto correct
2020-07-10 13:53:32 -04:00
Rembrandt Reyes
14b410cb39
Article page: edit and manage button spacing ( #9230 )
2020-07-10 11:54:57 -04:00
Brunno Souza
b5de27f1a6
Refactoring comments_controller#create reducing lines ( #9162 )
2020-07-10 17:24:36 +02:00
Ben Halpern
879e0ae1c8
Remove arrow-left-... from github issue embed ( #9236 )
2020-07-10 10:17:50 -04:00
Alex
3b1c813db7
[deploy] Revert "Add number_with_delimiter to post count ( #9225 )" ( #9242 )
...
This reverts commit 47b363bed7 .
2020-07-10 09:45:35 -04:00
bravemaster619
7fb7b179d9
[deploy] Add markdown version for DEV badge link ( #9227 )
2020-07-09 17:34:03 -04:00
Alex
47b363bed7
[deploy] Add number_with_delimiter to post count ( #9225 )
2020-07-09 15:55:11 -04:00
Ridhwana
f37ffc0be9
[deploy] Replace hardcoded logo with secondary logo config ( #9219 )
...
* chore: replace the logo with secondary logo
* update the html classes
2020-07-09 09:58:28 -04:00
Ridhwana
6029948c1a
[deploy] Make the mobile Navigation icons configurable ( #9056 )
...
* chore: make the icons dynamic from site config
* feat: update the navbar icons
* feat: update the descriptions
* chore: update the icons
* chore: update the names to be more reflective
* chore: freeze mutable objects assigned to constants
* chore: update Line is too long.
* icons
* update lightning icon
* chore: read from file
* path here is relative, so use Rails root
* revert to original icons and run svgo on it
* no newline
* feat: update height, width
2020-07-08 20:09:48 +02:00
Alex
bac350e877
[deploy] Add role and docs for user subscription liquid tag ( #9170 )
...
* Create new restriced_liquid_tag role
* Update role spec
* Use new role over admin
* Add documentation for user_subscription_liquid_tag
* Stub roles to help avoid flaky specs
* Add user approved liquid tags to edit view
* Remove "simply". Coding is hard, yo!
* Update liquid_help
* Update liquid help
* Update and refactor dashboard specs
* Refactor role check for liquid tag docs
* Improve docs wording
2020-07-08 14:07:53 -04:00
Ben Halpern
b3f97f95e5
[deploy] Remove unnecessary ?url= param from report-abuse ( #9203 )
2020-07-08 10:50:21 -04:00
Alex
9f9236164c
[deploy] Add subscriptions to the dashboard ( #9161 )
...
* Add /dashboard/subscriptions route
* Dashboard controller updates
* Update ArticlePolicy with subscriptions?
* Update article row view in dashboard
* Add subscriptions view
* Add specs
* Add comment for pagination limit
* Use cached user_subscriptions count
* Add spec for cache counter
* Add path helper
2020-07-08 08:31:03 -04:00
Ben Halpern
7bb194b305
[deploy] Remove /rly code ( #9192 )
2020-07-08 07:55:33 -04:00
ludwiczakpawel
9ee54bfe45
[deploy] Add crayons to pages ( #9175 )
...
* flare tag line height
* .
* dropdown fix + actions bar fix
* actions bar on mob
* .
* .
2020-07-07 09:43:54 -04:00
Michael Kohl
fb27f52ed0
[deploy] Display banner if site hasn't been configured (PRE DEPLOYMENT TASKS) ( #8435 )
2020-07-07 07:37:04 -05:00
ludwiczakpawel
e67df7e94d
Fix action icons in dark themes ( #9177 )
...
* flare tag line height
* .
* dropdown fix + actions bar fix
* actions bar on mob
* .
2020-07-07 14:07:47 +02:00
Ben Halpern
f2890f7757
[deploy] Remove unnecessary fragment cache ( #9159 )
2020-07-06 09:26:55 -04:00
Alex
f86b8a55a4
[deploy] UserSubscription liquid tag update & re-enable JS ( #9082 )
2020-07-06 08:26:40 -05:00
ludwiczakpawel
30c9175f80
Tags index design update ( #9072 )
...
* flare tag line height
* .
* dropdown fix + actions bar fix
* actions bar on mob
* .
* .
* js
* little updates
* improve contrast ratio
* Remove unused id and duplicated element id
Co-authored-by: rhymes <rhymes@hey.com>
2020-07-06 11:43:58 +02:00
rhymes
683f45d1e7
[deploy] Fix pro link for organization users ( #9144 )
...
* Fix pro link for org users
* Remove useless empty line
2020-07-05 18:17:03 -04:00
Ben Halpern
4a8936a18e
[deploy] Slight fix in dropdown menu code ( #9095 )
2020-07-03 00:08:22 -04:00
Danielle Heberling
4f31a8ac46
[deploy] Add Stackery liquid tag ( #9063 )
...
* Add stackery liquid tag
* Refactor stackery liquid tag
* Docs for stackery liquid tag
* Add stackery liquid tag tests
* Remove Github API check from stackery liquid tag
* Minor PR comment tweaks
2020-07-02 11:59:45 -04:00
Michael Kohl
25622fa1ff
Show org dropdown for postless users ( #9069 )
...
* Show org dropdown for postless users
* sorting and gap
* Fix typo
Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
2020-07-02 14:46:20 +02:00
Ben Halpern
2a31f7b9de
[deploy] Remove report-abuse link from base HTML document into JavaScript ( #9059 )
2020-07-01 16:29:22 -04:00
Ben Halpern
5c18f8cb67
[deploy] Only include community sponsors header if sponsors truly exist ( #8942 )
2020-07-01 10:37:41 -04:00
Lisa Sy
997d5c1b88
Update styling of user subscription liquid tag ( #9003 ) [deploy]
...
* Update user subscription user tag styling
* Update notice styling
* Refactor toggle visibility
* Update profile image styling
* Refactor JS & CSS updates
* Show state in Preview of liquid tag
2020-07-01 07:35:42 -07:00
OmarElKhatib
b44c0f5c0e
Fixing scrollbar for small screens in the profile page ( #9047 )
...
* Remove legacy code
* add crayons-card to index-comments
the deleted legacy code , is handled in crayons-card
* Revert change to home class
because it's used maaaaaaany times in the project , so it's better not modify it.
* OmarElKhatibCS/fixing issue #9016 , fixing scrollbar for small screens
2020-07-01 10:35:28 -04:00
ludwiczakpawel
de358f8eec
[deploy] Word-break utility-first class ( #9049 )
...
* flare tag line height
* .
* dropdown fix + actions bar fix
* actions bar on mob
* .
2020-07-01 10:26:15 -04:00
Michael Kohl
db17e98804
Unique IDs for hidden article_archived fields ( #9048 )
2020-07-01 11:35:29 +02:00
Ben Halpern
0de6e7db5e
[deploy] Add slash back for root link ( #9043 )
2020-06-30 19:17:18 -04:00
Alberto Pérez de Rada Fiol
9b6ab40572
[deploy] Allow internal chat channels to be searched by their name ( #9020 )
...
* Allow internal chat channels to be searched by their name
* Add tests
* Fix test
2020-06-30 14:43:25 -05:00
Ben Lesh
e364a6ad19
Hide secret code from input history ( #9032 )
...
Currently, the secret code will show up in the input history. That, I think, means that anyone that can open that page in a shared browser instance could join the org.
2020-06-30 14:26:18 -04:00
Mac Siri
0e2fc110b2
[deploy] Delete hello-dev.js ( #9025 )
2020-06-30 14:13:04 -04:00
OmarElKhatib
f3501d32f5
fix Issue #9013 , badge responsivity ( #9014 )
...
* fix Issue #9013 , badge responsivity
* remove d- prefix from d-block
* remove block because it behave the same without it
2020-06-30 12:52:47 +02:00
Mac Siri
d0b0944b32
Disable UserSubscriptionTag::script ( #9005 )
2020-06-30 09:13:44 +02:00
ludwiczakpawel
3a69f349be
[deploy] Refactor code blocks styling ( #8975 )
...
* flare tag line height
* .
* dropdown fix + actions bar fix
* actions bar on mob
* .
* missing bit
* document
* .
* little fix
* btn--highlight
2020-06-29 21:15:11 -04:00
Ben Halpern
aa855e5f9b
[deploy] Remove dead styling code ( #8991 )
2020-06-29 20:26:49 -04:00
Molly Struve
4e0fee644c
[deploy] Feature: Setup Admin Area to Update Vault Secrets ( #8935 )
2020-06-29 15:08:09 -05:00
Lisa Sy
c627086d74
Update Connect responsiveness on smaller viewports ( #8829 ) [deploy]
...
* Improve responsive experience for Connect
- Create single-screen experience for channels list & chat container on
small screens
- Remove `expanded` and `contracted` functionality
- Make small UI updates to channels-list
- Update tests accordingly
https://github.com/thepracticaldev/dev.to/issues/8442
* Iterate per first review
- Delete unnecessary conditional for displaying side filters
- Improve width display
- Use different animation for responsive experience
- Add top-border stroke to composer input
* Update app/assets/stylesheets/chat.scss
Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
* Update app/assets/stylesheets/chat.scss
Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
* Update app/assets/stylesheets/chat.scss
Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
* Update app/assets/stylesheets/chat.scss
Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
* Update app/assets/stylesheets/chat.scss
Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
* Update app/assets/stylesheets/chat.scss
Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
* layout fix
* Update test to reflect markup updates
* Fix channels position issue
* Use constants
* Lower coverage threshold
* Update line coverage threshold
https://github.com/thepracticaldev/dev.to/pull/8829#issuecomment-650140589
Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
Co-authored-by: rhymes <rhymesete@gmail.com>
2020-06-29 09:08:18 -07:00
rhymes
d3a7f64d2b
Tell the service worker to skip /rss ( #8944 )
2020-06-29 09:30:56 -04:00
Ben Halpern
8e0972dd33
[deploy] Remove sort links from tags for logged-out (SEO) ( #8932 )
...
* Remove sort links from tags for logged-out (SEO)
* Fix tests
* Fix tests take 2
* Final test fix
* Read error message more clearly
* Adjust tests
* Final test fix
2020-06-26 17:21:18 -04:00
Ben Halpern
0f6801ea99
[deploy] Add Forem link/reference in footer ( #8934 )
2020-06-26 15:18:37 -04:00
rhymes
618a7b94fe
Fix available credits count in dashboard ( #8928 )
2020-06-26 16:18:04 +02:00
ludwiczakpawel
343fb02d07
CSS cleanups ( #8926 )
...
* flare tag line height
* .
* dropdown fix + actions bar fix
* actions bar on mob
* remove legacy code?
* remove unused css
* remove unused css
* remove unused css
2020-06-26 15:26:59 +02:00
Alex
db4e37781f
[deploy] User subscriptions liquid tag MVP ( #8871 )
...
* UX (view, style, JS) progress
* base_data updates
* More JS updates
* Remove unnecessary param of author_id
* Remove author_id from controller
* Restrict email to admins
* Introduce profile images
* Remove base_data and update tag for source
* Use .key?
* I gotchu Codeclimate, don't worry :)
* Add click event listeners to modal buttons
* Refactor
* More refactor
* Refactor subscriber
* Use userData() for subscriber
* Reorganize
* Code cleanup
* Add subscription API call and favor textContent
* Fix API call and showSubscribed
* Add Apple Auth logic and change links to buttons
* Update success message
* Add Apple email check and spec
* Fix default sign in state
* Remove email from async_info :(
* Refactor markdown classes
* Single quote consistency
* Modal bug attempt & subscriber image on success
* Refactor passing source to tags and fix preview
2020-06-25 13:13:19 -04:00
ludwiczakpawel
c9c88c7cc1
[deploy] Dashboard updates ( #8879 )
...
* flare tag line height
* .
* .
* .
* .
* specs
* spec
* .
* init
* .
* .
* js refactor
* js
* update spec
* Fix infinite scroll
* typo
* move IF
* pro analytics link fix
* Clean up tests
* Refactor adding of html
Co-authored-by: benhalpern <bendhalpern@gmail.com>
2020-06-25 13:10:17 -04:00