add hosting to first run #7598

Merged
jessopb merged 8 commits from feat-autoHosting-and-firstRun into master 2022-06-02 21:24:11 +02:00
3 changed files with 12 additions and 25 deletions
Showing only changes of commit 73cf8029e0 - Show all commits

View file

@ -2256,19 +2256,6 @@
"Move Up": "Move Up", "Move Up": "Move Up",
"Move Down": "Move Down", "Move Down": "Move Down",
"Trending for #Game": "Trending for #Game", "Trending for #Game": "Trending for #Game",
"Help the P2P data network by hosting data.": "Help the P2P data network by hosting data.",
"History hosting lets you choose how much storage to use helping content you've consumed.": "History hosting lets you choose how much storage to use helping content you've consumed.",
"Automatic hosting lets you delegate some amount of storage for the network to automatically download ad host.": "Automatic hosting lets you delegate some amount of storage for the network to automatically download ad host.",
"Playing videos may exceed your history hosting limit until cleanup runs every 30 minutes.": "Playing videos may exceed your history hosting limit until cleanup runs every 30 minutes.",
"History: Limit (GB)": "History: Limit (GB)",
"Automatic: Allow (GB)": "Automatic: Allow (GB)",
"Automatic hosting lets you delegate some amount of storage for the network to automatically download and host.": "Automatic hosting lets you delegate some amount of storage for the network to automatically download and host.",
"History Hosting": "History Hosting",
"Automatic Hosting": "Automatic Hosting",
"History Hosting lets you choose how much storage to use helping content you've consumed.": "History Hosting lets you choose how much storage to use helping content you've consumed.",
"Automatic Hosting lets you delegate some amount of storage for the network to automatically download and host.": "Automatic Hosting lets you delegate some amount of storage for the network to automatically download and host.",
"Help improve the P2P data network (and make LBRY happy) by hosting data.": "Help improve the P2P data network (and make LBRY happy) by hosting data.",
"Limit Hosting of Content History": "Limit Hosting of Content History",
"Remove custom comment server": "Remove custom comment server", "Remove custom comment server": "Remove custom comment server",
"Use Https": "Use Https", "Use Https": "Use Https",
"Server URL": "Server URL", "Server URL": "Server URL",
@ -2328,5 +2315,15 @@
"Automatic Hosting downloads a small slice of content currently active on the network.": "Automatic Hosting downloads a small slice of content currently active on the network.", "Automatic Hosting downloads a small slice of content currently active on the network.": "Automatic Hosting downloads a small slice of content currently active on the network.",
"Automatic Hosting (GB)": "Automatic Hosting (GB)", "Automatic Hosting (GB)": "Automatic Hosting (GB)",
"* Note that as peer-to-peer software, your IP address and potentially other system information can be sent to other users, though this information is not stored permanently.": "* Note that as peer-to-peer software, your IP address and potentially other system information can be sent to other users, though this information is not stored permanently.", "* Note that as peer-to-peer software, your IP address and potentially other system information can be sent to other users, though this information is not stored permanently.": "* Note that as peer-to-peer software, your IP address and potentially other system information can be sent to other users, though this information is not stored permanently.",
"Help improve the P2P data network (and make LBRY users happy) by hosting data.": "Help improve the P2P data network (and make LBRY users happy) by hosting data.",
"View History Hosting lets you choose how much storage to use hosting content you've consumed.": "View History Hosting lets you choose how much storage to use hosting content you've consumed.",
"Automatic Hosting downloads a small portion of content active on the network.": "Automatic Hosting downloads a small portion of content active on the network.",
"Publishes --[legend, storage category]--": "Publishes",
"Auto Hosting --[legend, storage category]--": "Auto Hosting",
"View Hosting --[legend, storage category]--": "View Hosting",
"%spaceUsed% of %limit% GB": "%spaceUsed% of %limit% GB",
"%spaceUsed% of %limit% Free GB": "%spaceUsed% of %limit% Free GB",
"Disabled": "Disabled",
"Free --[legend, unused disk space]--": "Free",
"--end--": "--end--" "--end--": "--end--"
} }

View file

@ -86,16 +86,6 @@ function StorageViz(props: Props) {
kauffj commented 2022-06-02 18:50:16 +02:00 (Migrated from github.com)
Review

Missing i18n in several places

Missing i18n in several places
kauffj commented 2022-06-02 18:50:16 +02:00 (Migrated from github.com)
Review

Missing i18n in several places

Missing i18n in several places
%spaceUsed% of %limit% GB %spaceUsed% of %limit% GB
</I18nMessage> </I18nMessage>
)} )}
{
kauffj commented 2022-06-02 18:50:16 +02:00 (Migrated from github.com)
Review

Missing i18n in several places

Missing i18n in several places
<I18nMessage
kauffj commented 2022-06-02 18:50:16 +02:00 (Migrated from github.com)
Review

Missing i18n in several places

Missing i18n in several places
tokens={{
kauffj commented 2022-06-02 18:50:16 +02:00 (Migrated from github.com)
Review

Missing i18n in several places

Missing i18n in several places
spaceUsed: getGB(viewBlobSpace),
kauffj commented 2022-06-02 18:50:16 +02:00 (Migrated from github.com)
Review

Missing i18n in several places

Missing i18n in several places
limit: viewHostingLimit !== 0 ? getGB(viewHostingLimit) : getGB(viewFree),
kauffj commented 2022-06-02 18:50:16 +02:00 (Migrated from github.com)
Review

Missing i18n in several places

Missing i18n in several places
}}
kauffj commented 2022-06-02 18:50:16 +02:00 (Migrated from github.com)
Review

Missing i18n in several places

Missing i18n in several places
>
kauffj commented 2022-06-02 18:50:16 +02:00 (Migrated from github.com)
Review

Missing i18n in several places

Missing i18n in several places
%spaceUsed% of %limit% Free GB
kauffj commented 2022-06-02 18:50:16 +02:00 (Migrated from github.com)
Review

Missing i18n in several places

Missing i18n in several places
</I18nMessage>
kauffj commented 2022-06-02 18:50:16 +02:00 (Migrated from github.com)
Review

Missing i18n in several places

Missing i18n in several places
}
kauffj commented 2022-06-02 18:50:16 +02:00 (Migrated from github.com)
Review

Missing i18n in several places

Missing i18n in several places
</div> </div>
</div> </div>
</div> </div>

kauffj commented 2022-06-02 18:50:16 +02:00 (Migrated from github.com)
Review

Missing i18n in several places

Missing i18n in several places
kauffj commented 2022-06-02 18:50:16 +02:00 (Migrated from github.com)
Review

Missing i18n in several places

Missing i18n in several places

View file

@ -117,7 +117,7 @@ function SettingViewHosting(props: Props) {
kauffj commented 2022-06-02 18:56:00 +02:00 (Migrated from github.com)
Review

what's 0.2?

(I know, but variable would make this clearer)

what's 0.2? (I know, but variable would make this clearer)
kauffj commented 2022-06-02 18:56:27 +02:00 (Migrated from github.com)
Review

if 0.01 is special value it probably merits abstraction

if 0.01 is special value it probably merits abstraction
kauffj commented 2022-06-02 18:56:00 +02:00 (Migrated from github.com)
Review

what's 0.2?

(I know, but variable would make this clearer)

what's 0.2? (I know, but variable would make this clearer)
kauffj commented 2022-06-02 18:56:27 +02:00 (Migrated from github.com)
Review

if 0.01 is special value it probably merits abstraction

if 0.01 is special value it probably merits abstraction
<Button <Button
disabled={ disabled={
// disabled if settings are equal or not valid amounts // disabled if settings are equal or not valid amounts
(viewHostingLimit === 1 && contentBlobSpaceLimitGB === '0') || (viewHostingLimit === 1 && contentBlobSpaceLimitGB <= MINIMUM_VIEW_SETTING) ||
kauffj commented 2022-06-02 18:56:00 +02:00 (Migrated from github.com)
Review

what's 0.2?

(I know, but variable would make this clearer)

what's 0.2? (I know, but variable would make this clearer)
kauffj commented 2022-06-02 18:56:27 +02:00 (Migrated from github.com)
Review

if 0.01 is special value it probably merits abstraction

if 0.01 is special value it probably merits abstraction
kauffj commented 2022-06-02 18:56:00 +02:00 (Migrated from github.com)
Review

what's 0.2?

(I know, but variable would make this clearer)

what's 0.2? (I know, but variable would make this clearer)
kauffj commented 2022-06-02 18:56:27 +02:00 (Migrated from github.com)
Review

if 0.01 is special value it probably merits abstraction

if 0.01 is special value it probably merits abstraction
(unlimited && viewHostingLimit === 0) || (unlimited && viewHostingLimit === 0) ||
(!unlimited && (!unlimited &&
String(viewHostingLimit) === String(viewHostingLimit) ===
@ -136,7 +136,7 @@ function SettingViewHosting(props: Props) {
kauffj commented 2022-06-02 18:56:00 +02:00 (Migrated from github.com)
Review

what's 0.2?

(I know, but variable would make this clearer)

what's 0.2? (I know, but variable would make this clearer)
kauffj commented 2022-06-02 18:56:27 +02:00 (Migrated from github.com)
Review

if 0.01 is special value it probably merits abstraction

if 0.01 is special value it probably merits abstraction
kauffj commented 2022-06-02 18:56:00 +02:00 (Migrated from github.com)
Review

what's 0.2?

(I know, but variable would make this clearer)

what's 0.2? (I know, but variable would make this clearer)
kauffj commented 2022-06-02 18:56:27 +02:00 (Migrated from github.com)
Review

if 0.01 is special value it probably merits abstraction

if 0.01 is special value it probably merits abstraction
<Button <Button
disabled={ disabled={
// disabled if settings are equal or not valid amounts // disabled if settings are equal or not valid amounts
(viewHostingLimit === 1 && contentBlobSpaceLimitGB === '0') || (viewHostingLimit === 1 && contentBlobSpaceLimitGB <= MINIMUM_VIEW_SETTING) ||
kauffj commented 2022-06-02 18:56:00 +02:00 (Migrated from github.com)
Review

what's 0.2?

(I know, but variable would make this clearer)

what's 0.2? (I know, but variable would make this clearer)
kauffj commented 2022-06-02 18:56:27 +02:00 (Migrated from github.com)
Review

if 0.01 is special value it probably merits abstraction

if 0.01 is special value it probably merits abstraction
kauffj commented 2022-06-02 18:56:00 +02:00 (Migrated from github.com)
Review

what's 0.2?

(I know, but variable would make this clearer)

what's 0.2? (I know, but variable would make this clearer)
kauffj commented 2022-06-02 18:56:27 +02:00 (Migrated from github.com)
Review

if 0.01 is special value it probably merits abstraction

if 0.01 is special value it probably merits abstraction
(unlimited && viewHostingLimit === 0) || (unlimited && viewHostingLimit === 0) ||
(!unlimited && (!unlimited &&
(String(viewHostingLimit) === convertGbToMbStr(contentBlobSpaceLimitGB) || (String(viewHostingLimit) === convertGbToMbStr(contentBlobSpaceLimitGB) ||

kauffj commented 2022-06-02 18:56:00 +02:00 (Migrated from github.com)
Review

what's 0.2?

(I know, but variable would make this clearer)

what's 0.2? (I know, but variable would make this clearer)
kauffj commented 2022-06-02 18:56:27 +02:00 (Migrated from github.com)
Review

if 0.01 is special value it probably merits abstraction

if 0.01 is special value it probably merits abstraction
kauffj commented 2022-06-02 18:56:00 +02:00 (Migrated from github.com)
Review

what's 0.2?

(I know, but variable would make this clearer)

what's 0.2? (I know, but variable would make this clearer)
kauffj commented 2022-06-02 18:56:27 +02:00 (Migrated from github.com)
Review

if 0.01 is special value it probably merits abstraction

if 0.01 is special value it probably merits abstraction