From 456931f208eafb1a1b73d26dc2df326fbd9ed981 Mon Sep 17 00:00:00 2001
From: Ben Halpern Suggest a Tweet: Help get your post in front of more developers by suggesting a tweet that @ThePracticalDev editors can use.
+ Suggest a Tweet: Help get your post in front of more developers by suggesting a tweet that ">@<%= ApplicationConfig["SITE_TWITTER_HANDLE"] %> editors can use.
Experience Level of Post: The best target dev experience level— a gentle indicator to help show the post to the people who will benefit the most.
- All dev.to users who submit this form will receive a "welcome package" -- there is no element of chance or skill in this promotion. Additionally, there is no purchase necessary, and this offer is void if/where prohibited. Please note that there is a limit of 1 per person, and all entrants will go through a spam filtration procedure. Contact yo@dev.to with any questions, or to inquire about an alternative means of entry for this promotion.
- * * * or * * *
- It seems you've never requested stickers.
- Rest assured, we will have events and giveaways in the future for you look forward to.
-
- ❤️ * * *
- Your stickers should arrive soon.
-
- ❤️ The DEV Community Moderator program gives trusted users the ability to help promote valuable posts and push down articles that we deem spammy, overly promotional, or unhelpful. It also provides moderators the ability to quickly flag harassment, as well as a few other neat things. Neat things include: To become a community or tag moderator, please email yo@dev.to! To access these features for an article, append "/mod" to the URL of any article or click "Moderate Post" located underneath the title of each post beside the read time. Clicking on the 'thumbsdown' or 'vomit' button will activate them. Here's what each emoji does: To down-rank comments, append /mod to the comment permalink or click 'moderate' from the ellipses on the comment. If you think a post is particularly good, help us craft a tweet to give it a shout out through one of our Twitter accounts. The tweet suggestion is not guaranteed to be used, but will be reviewed by a team member. Using the 1-10 scale (1: beginner; 10: most advanced), rate what you believe a post's experience level to be. While this is somewhat subjective, just use your best judgement taking into account any bias you may have based on your own knowledge of the topic. This will help us bring more relevant posts to each individual's feed depending on their experience level. To do the above two things (suggest-a-tweet & rate experience levels) in bulk, visit: dev.to/mod!key links
Tools:
- Tips:
<%= pluralize(@errors.size, "issue") %> prohibited your form from being submitted:
-
-
- <% @errors.each do |message| %>
-
- Shipping Information
- <% if @user.email.blank? %>
-
- <%= f.text_field :email %>
-
- <%= f.text_field :shipping_name %>
-
- <%= f.text_field :shipping_company %>
-
- <%= f.text_field :shipping_address %>
-
- <%= f.text_field :shipping_address_line_2 %>
-
- <%= f.text_field :shipping_city %>
-
- <%= f.text_field :shipping_state %>
-
- <%= f.select :shipping_country,
- options_for_select(
- [["United States", "US"],
- ["-----", ""],
- %w[Afghanistan AF],
- ["Åland Islands", "AX"],
- %w[Albania AL],
- %w[Algeria DZ],
- ["American Samoa", "AS"],
- %w[Andorra AD],
- %w[Angola AO],
- %w[Anguilla AI],
- %w[Antarctica AQ],
- ["Antigua and Barbuda", "AG"],
- %w[Argentina AR],
- %w[Armenia AM],
- %w[Aruba AW],
- %w[Australia AU],
- %w[Austria AT],
- %w[Azerbaijan AZ],
- %w[Bahamas BS],
- %w[Bahrain BH],
- %w[Bangladesh BD],
- %w[Barbados BB],
- %w[Belarus BY],
- %w[Belgium BE],
- %w[Belize BZ],
- %w[Benin BJ],
- %w[Bermuda BM],
- %w[Bhutan BT],
- %w[Bolivia BO],
- %w[Bonaire BQ],
- ["Bosnia and Herzegovina", "BA"],
- %w[Botswana BW],
- ["Bouvet Island", "BV"],
- %w[Brazil BR],
- ["BIO Territory", "IO"],
- ["Brunei Darussalam", "BN"],
- %w[Bulgaria BG],
- ["Burkina Faso", "BF"],
- %w[Burundi BI],
- %w[Cambodia KH],
- %w[Cameroon CM],
- %w[Canada CA],
- ["Cape Verde", "CV"],
- ["Cayman Islands", "KY"],
- ["Central African Republic", "CF"],
- %w[Chad TD],
- %w[Chile CL],
- %w[China CN],
- ["Christmas Island", "CX"],
- ["Cocos (Keeling) Islands", "CC"],
- %w[Colombia CO],
- %w[Comoros KM],
- %w[Congo CG],
- %w[Congo CD],
- ["Cook Islands", "CK"],
- ["Costa Rica", "CR"],
- ["Côte d'Ivoire", "CI"],
- %w[Croatia HR],
- %w[Cuba CU],
- %w[Curaçao CW],
- %w[Cyprus CY],
- ["Czech Republic", "CZ"],
- %w[Denmark DK],
- %w[Djibouti DJ],
- %w[Dominica DM],
- ["Dominican Republic", "DO"],
- %w[Ecuador EC],
- %w[Egypt EG],
- ["El Salvador", "SV"],
- ["Equatorial Guinea", "GQ"],
- %w[Eritrea ER],
- %w[Estonia EE],
- %w[Ethiopia ET],
- ["Falkland Islands", "FK"],
- ["Faroe Islands", "FO"],
- %w[Fiji FJ],
- %w[Finland FI],
- %w[France FR],
- ["French Guiana", "GF"],
- ["French Polynesia", "PF"],
- ["French S Territories", "TF"],
- %w[Gabon GA],
- %w[Gambia GM],
- %w[Georgia GE],
- %w[Germany DE],
- %w[Ghana GH],
- %w[Gibraltar GI],
- %w[Greece GR],
- %w[Greenland GL],
- %w[Grenada GD],
- %w[Guadeloupe GP],
- %w[Guam GU],
- %w[Guatemala GT],
- %w[Guernsey GG],
- %w[Guinea GN],
- ["Guinea-Bissau", "GW"],
- %w[Guyana GY],
- %w[Haiti HT],
- ["Heard McDonald Islands", "HM"],
- ["Holy See", "VA"],
- %w[Honduras HN],
- ["Hong Kong", "HK"],
- %w[Hungary HU],
- %w[Iceland IS],
- %w[India IN],
- %w[Indonesia ID],
- %w[Iran IR],
- %w[Iraq IQ],
- %w[Ireland IE],
- ["Isle of Man", "IM"],
- %w[Israel IL],
- %w[Italy IT],
- %w[Jamaica JM],
- %w[Japan JP],
- %w[Jersey JE],
- %w[Jordan JO],
- %w[Kazakhstan KZ],
- %w[Kenya KE],
- %w[Kiribati KI],
- ["Korea, People's Republic", "KP"],
- ["Korea, Republic of", "KR"],
- %w[Kuwait KW],
- %w[Kyrgyzstan KG],
- %w[Lao LA],
- %w[Latvia LV],
- %w[Lebanon LB],
- %w[Lesotho LS],
- %w[Liberia LR],
- %w[Libya LY],
- %w[Liechtenstein LI],
- %w[Lithuania LT],
- %w[Luxembourg LU],
- %w[Macao MO],
- %w[Macedonia MK],
- %w[Madagascar MG],
- %w[Malawi MW],
- %w[Malaysia MY],
- %w[Maldives MV],
- %w[Mali ML],
- %w[Malta MT],
- ["Marshall Islands", "MH"],
- %w[Martinique MQ],
- %w[Mauritania MR],
- %w[Mauritius MU],
- %w[Mayotte YT],
- %w[Mexico MX],
- %w[Micronesia FM],
- ["Moldova, Republic of", "MD"],
- %w[Monaco MC],
- %w[Mongolia MN],
- %w[Montenegro ME],
- %w[Montserrat MS],
- %w[Morocco MA],
- %w[Mozambique MZ],
- %w[Myanmar MM],
- %w[Namibia NA],
- %w[Nauru NR],
- %w[Nepal NP],
- %w[Netherlands NL],
- ["New Caledonia", "NC"],
- ["New Zealand", "NZ"],
- %w[Nicaragua NI],
- %w[Niger NE],
- %w[Nigeria NG],
- %w[Niue NU],
- ["Norfolk Island", "NF"],
- ["Northern Mariana Islands", "MP"],
- %w[Norway NO],
- %w[Oman OM],
- %w[Pakistan PK],
- %w[Palau PW],
- ["Palestinian Territory", "PS"],
- %w[Panama PA],
- ["Papua New Guinea", "PG"],
- %w[Paraguay PY],
- %w[Peru PE],
- %w[Philippines PH],
- %w[Pitcairn PN],
- %w[Poland PL],
- %w[Portugal PT],
- ["Puerto Rico", "PR"],
- %w[Qatar QA],
- %w[Réunion RE],
- %w[Romania RO],
- ["Russian Federation", "RU"],
- %w[Rwanda RW],
- ["Saint Barthélemy", "BL"],
- ["Saint Helena", "SH"],
- ["Saint Kitts and Nevis", "KN"],
- ["Saint Lucia", "LC"],
- ["Saint Martin (French part)", "MF"],
- ["Saint Pierre and Miquelon", "PM"],
- ["Saint Vincent, Grenadines", "VC"],
- %w[Samoa WS],
- ["San Marino", "SM"],
- ["Sao Tome and Principe", "ST"],
- ["Saudi Arabia", "SA"],
- %w[Senegal SN],
- %w[Serbia RS],
- %w[Seychelles SC],
- ["Sierra Leone", "SL"],
- %w[Singapore SG],
- ["Sint Maarten (Dutch part)", "SX"],
- %w[Slovakia SK],
- %w[Slovenia SI],
- ["Solomon Islands", "SB"],
- %w[Somalia SO],
- ["South Africa", "ZA"],
- ["South Georgia", "GS"],
- ["South Sudan", "SS"],
- %w[Spain ES],
- ["Sri Lanka", "LK"],
- %w[Sudan SD],
- %w[Suriname SR],
- ["Svalbard and Jan Mayen", "SJ"],
- %w[Swaziland SZ],
- %w[Sweden SE],
- %w[Switzerland CH],
- ["Syrian Arab Republic", "SY"],
- ["Taiwan, Province of China", "TW"],
- %w[Tajikistan TJ],
- %w[Tanzania TZ],
- %w[Thailand TH],
- ["Timor-Leste", "TL"],
- %w[Togo TG],
- %w[Tokelau TK],
- %w[Tonga TO],
- ["Trinidad and Tobago", "TT"],
- %w[Tunisia TN],
- %w[Turkey TR],
- %w[Turkmenistan TM],
- ["Turks and Caicos Isl", "TC"],
- %w[Tuvalu TV],
- %w[Uganda UG],
- %w[Ukraine UA],
- ["United Arab Emirates", "AE"],
- ["United Kingdom", "GB"],
- ["United States", "US"],
- ["United States Minor", "UM"],
- %w[Uruguay UY],
- %w[Uzbekistan UZ],
- %w[Vanuatu VU],
- %w[Venezuela VE],
- ["Viet Nam", "VN"],
- ["Virgin Islands, British", "VG"],
- ["Virgin Islands, U.S.", "VI"],
- ["Wallis and Futuna", "WF"],
- ["Western Sahara", "EH"],
- %w[Yemen YE],
- %w[Zambia ZM],
- %w[Zimbabwe ZW]],
- @user.shipping_country,
- ) %>
-
- <%= f.text_field :shipping_postal_code %>
- T-shirt size
-
- <%= f.select :shirt_gender,
- options_for_select(
- [%w[Unisex unisex],
- ["Women's", "womens"]],
- @user.shirt_gender,
- ) %>
-
- <%= f.select :shirt_size,
- options_for_select(
- [%w[Small s],
- %w[Medium m],
- %w[Large l],
- ["Extra Large", "xl"],
- %w[2XL 2xl],
- %w[3XL 3xl]],
- @user.shirt_size,
- ) %>
- A bit about you
- (This is sort of our "I'm not a robot" test)
-
- <%= f.text_field :top_languages %>
-
- <%= f.text_field :specialty %>
-
- <%= f.select :experience_level,
- options_for_select(
- [["0 (Complete Newbie)", "0"],
- %w[1 1],
- %w[2 2],
- ["3 (Junior Developer)", "3"],
- %w[4 4],
- %w[5 5],
- %w[6 6],
- ["7 (Experienced Developer)", "7"],
- %w[8 8],
- %w[9 9],
- ["10 (Senior Developer)", "10"]],
- @user.experience_level,
- ) %>
-
- <%= f.select :tabs_or_spaces,
- options_for_select(
- [%w[Tabs tabs],
- %w[Spaces spaces]],
- @user.tabs_or_spaces,
- ) %>
-
- Editing Giveaway
-
-Please sign in
-
- <%= ApplicationConfig["APP_DOMAIN"] %>/users/auth/twitter/callback" class="sign-up-link" data-no-instant>" alt="nerd emoji" /> Sign in with Twitter
-
" alt="nerd emoji" /> Sign in with Github
-
- Ben & Jess
-
- Thank you for the support.
-
-
- Ben & Jess
-
<%= form.text_field :description %>
+ <%= form.label :is_top_level_path %> (Determines if it is accessible by /page-slug vs /page/page-slug) Be careful! ⚠️
+
+ <%= form.check_box :is_top_level_path %>
+
<%= form.submit %>
diff --git a/app/views/notifications/index.html.erb b/app/views/notifications/index.html.erb
index 160cb595c..81c09168f 100644
--- a/app/views/notifications/index.html.erb
+++ b/app/views/notifications/index.html.erb
@@ -12,7 +12,7 @@
-
+ ">
<% end %>
diff --git a/app/views/pages/about.html.erb b/app/views/pages/about.html.erb
index 6b0dde308..0d6213acd 100644
--- a/app/views/pages/about.html.erb
+++ b/app/views/pages/about.html.erb
@@ -13,7 +13,7 @@
" />
-
+ ">
">
is great!">
diff --git a/app/views/pages/api.html.erb b/app/views/pages/api.html.erb
index 754838771..ce00574e8 100644
--- a/app/views/pages/api.html.erb
+++ b/app/views/pages/api.html.erb
@@ -10,7 +10,7 @@
API" />
-
+ ">
API">
-
+ ">
diff --git a/app/views/pages/bounty.html.erb b/app/views/pages/bounty.html.erb
index 107cc6a0c..6492d70c7 100644
--- a/app/views/pages/bounty.html.erb
+++ b/app/views/pages/bounty.html.erb
@@ -10,7 +10,7 @@
-
+ ">
<% end %>
diff --git a/app/views/pages/code_of_conduct.html.erb b/app/views/pages/code_of_conduct.html.erb
index 058772477..33ff6b710 100644
--- a/app/views/pages/code_of_conduct.html.erb
+++ b/app/views/pages/code_of_conduct.html.erb
@@ -10,7 +10,7 @@
-
+ ">
diff --git a/app/views/pages/community_moderation.html.erb b/app/views/pages/community_moderation.html.erb
deleted file mode 100644
index 86ce1f319..000000000
--- a/app/views/pages/community_moderation.html.erb
+++ /dev/null
@@ -1,69 +0,0 @@
-<% title "Community Moderation Guide for dev.to()" %>
-
-<%= content_for :page_meta do %>
-
-
-
-
-
-
-
- " />
-
-
-
-
-
-
-
- ">
-<% end %>
-
-
-
- Community Moderation
-
-
-
- " />
-
Using our quick emoji rating to down-rank content
-
-
- " />
-
">
-
-
Suggesting a tweet for a post
- ">
-
Rating the experience level of a post
- ">
-
Mod Dashboard
-
-
- Twitter: @thepracticaldev 👻 + Twitter: ">@<%= ApplicationConfig["SITE_TWITTER_HANDLE"] %> 👻
Report a vulnerability: dev.to/security 🐛 diff --git a/app/views/pages/show.html.erb b/app/views/pages/show.html.erb index c917ce48a..4c9effac1 100644 --- a/app/views/pages/show.html.erb +++ b/app/views/pages/show.html.erb @@ -1,7 +1,6 @@ <% title @page.title %> - <%= content_for :page_meta do %> - + @@ -36,3 +35,4 @@ <% else %> <%= @page.processed_html.html_safe %> <% end %> +
\ No newline at end of file diff --git a/app/views/pages/tag_moderation.html.erb b/app/views/pages/tag_moderation.html.erb deleted file mode 100644 index 9bcd9c42d..000000000 --- a/app/views/pages/tag_moderation.html.erb +++ /dev/null @@ -1,80 +0,0 @@ -<% title "Tag Moderation Guide for dev.to()" %> - -<%= content_for :page_meta do %> - - - - - - - - " /> - - - - - - - - "> -<% end %> - - -The DEV Tag Moderator program gives trusted users the abiliy to help moderate content that appear under the tags they are moderating. You can see who the moderators of each tag are by visiting the tag page. (i.e. ruby tag page). Tag moderators have the ability to:
-In addition, tag moderators are also considered community moderators and have additional privileges listed here. If you're interested in becoming a community or tag moderator, please email yo@dev.to!
-If you are the moderator of a tag, you have the ability to remove that tag from posts that should not contain it. This action helps us keep content categorized appropriately so that people can confidently follow tags, knowing that they'll see the subjects they're interested in.
-Visit https://dev.to/mod?tag={your_tag_name} to make bulk suggestions for article tweets and experience levels. To learn more about these features and what they do, visit the community moderation page.
-