Commit Graph

24781 Commits

Author SHA1 Message Date
Tom
46d67deb46 fix(test): make less strict about whitespace (#36705) 2019-08-28 10:48:57 +02:00
a03602a1d4 fix(search): update search bar index and styling (#36656)
* Adjust search bar to only show hits for News
* Dropdown links working. Working on basic pagination
* Links to articles and temporarily routing to the News search result page working
* Fix colors for search bar and drop down
* Added Lato 300 font weight. Search bar now looks and works like it does on News.
* feat:update styles
* Update client/src/components/search/searchBar/SearchBar.js

Co-Authored-By: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

* Added Lato 300 font weight. Search bar now looks and works like it does on News.


Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2019-08-28 12:22:19 +05:30
Tom
07b38d02b3 fix(challenge-test): make semi-colon optional (#36704) 2019-08-28 06:22:47 +05:30
Tom
742a21345d fix(take-home-projects): Remove paragraphs with bad links (#36702) 2019-08-27 20:02:12 -04:00
92d62218bf Update improved article, fixed references (#36687)
* Update improved article, fixed references

* Update guide/english/computer-science/data-structures/index.md

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Update guide/english/computer-science/data-structures/index.md

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Update guide/english/computer-science/data-structures/index.md

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Update guide/english/computer-science/data-structures/index.md

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Update removed redundant note and fixed bold

* fix: corrected note
2019-08-27 13:08:23 -07:00
Tom
8b43105d75 fix(style): info message on a private profile + night mode (#36697)
* fix(style): private-profile-alert-message
* fix: remove-alert-component
2019-08-28 00:00:51 +05:30
3a02183415 chore: update codeowners 2019-08-27 23:41:02 +05:30
Tom
f03a731c36 fix(style): remove underlines on button text (#36662)
* fix/remove-link-underlines

* fix(style): remove-underlines-from-buttons

* fix: change class to className

* style/change-class-to-btn-cta
2019-08-27 23:00:35 +05:30
920209cb23 docs: add devops guides (#36690) 2019-08-27 14:58:47 +05:30
18bee1bd59 fix: ensure 'night' is set before hydration 2019-08-27 12:45:20 +05:30
5a38887af1 fix: make night mode default for code blocks 2019-08-27 12:45:20 +05:30
07b73e2860 typo fixed (#36689) 2019-08-26 22:08:36 -07:00
085e31b9e2 fix: stop wallets overflowing on mobile (#36688) 2019-08-27 00:12:55 +05:30
Tom
2e205b04e8 fix(client): heatmap-colors (#36660)
* fix/heatmap-colors

* fix/simplify-variables

* fix/if-statements+typo
2019-08-26 18:52:39 +05:30
432e4a40a3 fix: move toggle buttons below labels on mobile 2019-08-26 18:51:28 +05:30
ab806c1e5d fix: remove theme settings correctly 2019-08-26 18:51:28 +05:30
12a2b47b17 fix: bring buttons closer and reduce repetition 2019-08-26 18:51:28 +05:30
e90eb66529 fix: change toggle style and improve responsiveness 2019-08-26 18:51:28 +05:30
Tom
c6b287b2b3 fix(client): margin-on-project-pages (#36646) 2019-08-26 18:21:40 +05:30
fcfbe0314f Update removed redundant text (#36685)
Removed twice repeated text.
2019-08-25 14:11:30 -07:00
5a535dffda clean up the Russian translation/fix link* (#34147)
* the Wikipedia link now points to the Russian Wikipedia page on DRY
2019-08-24 23:19:34 -07:00
5af9016e33 Added example and fixed 'Ionicones' (#32804) 2019-08-24 23:16:40 -07:00
406988edac Change text in lines 25 and 52 (#32734)
For better translation, following the context of the paragraph, the lines 25 and 52 should be changed for this version,
2019-08-24 23:15:51 -07:00
b44822f8ab Several text improvements and bad translated words (#26484) 2019-08-24 12:02:36 -07:00
e10e768987 worker thread (#36680) 2019-08-24 11:00:10 -07:00
Tom
c129715b8d Fix/donate progress bar color (#36661)
* fix/donate-progress-bar-color

* fix/colors
2019-08-23 15:46:56 +03:00
Tom
d901d34b69 fix/make=editor-night-mode-by-default (#36667) 2019-08-23 15:39:22 +03:00
a4c1f68717 Solution using RegExp (#36665)
* Update index.md

I think it can be interesting to propose a solution using RegExp.

* fix: wrapped code in code fences
2019-08-22 10:40:06 -07:00
ee77adbee9 Guide to the Data Visualization with D3 Work with Data in D3 (#36651)
* Guide to the Data Visualization with D3 Work with Data in D3

* Guide to data visualization with d3 work with data in d3

* Delete index.md
2019-08-22 10:14:48 -07:00
9b1e125022 Cambios de traducción y mejoras (#32973)
Distintas mejoras de traducción. Sobretodo el continuo uso de "Cuerdas" en vez de "Cadena" para el término de String.
2019-08-22 10:11:24 -07:00
7a97974099 fix(donate): modal opens at most once per session (#36632)
* Track if donation modal has opened in a session

* Fix prettier problem

* Create separate action that switches donationRequested
2019-08-22 12:59:13 +05:30
316503bfaa fix: added forumTopicId to new challenge (#36609) 2019-08-21 11:20:05 -05:00
754981b728 fix: Global color vars (#36653)
* Added colors from the style guide to :root so they're available globally. Also switched out hex codes for named variables in .dark-palette and .light-palette wherever possible.

* feat: add success and danger colors to root
2019-08-21 16:19:21 +03:00
Tom
45765ad03e fix/margins-on-buttons (#36649) 2019-08-21 01:25:51 +03:00
d03c71b990 Improved Spanish List Guide (#31432)
Added a lot more of information and code examples
2019-08-20 14:13:12 -07:00
9d30fe7027 feat(guide): Add a new solution using reduce (#36629) 2019-08-20 09:39:25 -07:00
a9fb8ac1c3 Corrected access on constant variable and access on attribute properties. (#36586)
First on constant variable issue:

This will not compile:

[Plugin(MyPluginName)] // Won't compile because MyPluginName isn't const
[Plugin(MyConstPluginName)] // OK
[Plugin("My Cool Plugin")] // OK

In order to access properties on the static class, it must specify the name of the class before the properties name as proposed on this change:

[Plugin(Variables.MyPluginName)] // Won't compile because MyPluginName isn't const
[Plugin(Variables.MyConstPluginName)] // OK
[Plugin("My Cool Plugin")] // OK

Second on access on attribute properties:

In order to access plugin.Name on this code:

var type = typeof(MyPlugin); // Returns a Type object representing our MyPlugin class
	var attributes = System.Attribute.GetCustomAttributes(type); // Returns an Attribute[]

	foreach (var a in attributes)
	{
		if (a is PluginAttribute plugin)
			Console.WriteLine($"Plugin Name: {plugin.Name}");
	}

You need to cast if first to the right class, then access the properties, as the above code will generate a compile-time error:

var type = typeof(PluginAttribute); // Returns a Type object representing our PluginAttribute class
	var attributes = System.Attribute.GetCustomAttributes(type); // Returns an Attribute[]

	foreach (var a in attributes)
	{
		if (a is PluginAttribute)
                    {
                        PluginAttribute plug = (PluginAttribute)a; //Cast it first to PluginAttribute class before you can access all accessible properties
                        Console.WriteLine($"Plugin Name: {plug.Name}");
                    }
	}
2019-08-20 09:32:05 -07:00
ad5b99ed09 update translation greedy-algorithms (#36388)
* update translation greedy-algorithms

* updated translation after review
2019-08-20 09:26:25 -07:00
b6ffe92a84 Typescript -> TypeScript (spanish) (#35204)
* Typescript -> TypeScript (spanish)

* Update index.md
2019-08-20 08:41:15 -07:00
24eaec6e44 [Update] Added guide for unordered_map (#36608)
* [Update] Added guide for unordered_map

* fix: removed unsecure links
2019-08-20 08:01:07 -07:00
662ea9235a Added Diamond Printing Example.md (#36637)
Added Example of a Diamond Printing code
2019-08-20 07:40:54 -07:00
4507a6b254 Minor grammar fixes (#36643)
* Minor grammar fix
2019-08-20 14:36:22 +01:00
38badd6259 typo fixed (#36642) 2019-08-20 06:28:56 -07:00
7c293b523e added solution 2 to the article (#36639) 2019-08-20 06:26:41 -07:00
1348a5a037 fix(profile): update identicon colors 2019-08-20 13:37:11 +05:30
31e3d9b27e feat: commandline chic 2019-08-20 13:37:11 +05:30
f0329da61a fix(redirects): update redirection paths and codes 2019-08-20 00:23:21 +05:30
de6f32cd33 fix(redirects): update redirection paths and codes 2019-08-19 22:48:03 +05:30
10d176178a fix(client): update profile image urls check (#36636) 2019-08-19 22:11:29 +05:30
b08f260dd3 Changed exhibition title (#27450)
guide/portuguese/r/data-types
2019-08-19 07:00:58 -07:00