Bence Pőcze bence
  • Joined on 2020-12-27
bence merged pull request esoko/mapguesser#43 2021-05-09 13:34:37 +02:00
reverted removal of preference for outdoor panorama in the front end
bence pushed to develop at esoko/mapguesser 2021-05-09 13:34:37 +02:00
94624d5b2c Merge pull request 'reverted removal of preference for outdoor panorama in the front end' (#43) from feature/preference-for-outdoor-panorama-in-the-frontend into develop
71c728d56c reverted removal of preference for outdoor panorama in the front end
Compare 2 commits »
bence commented on pull request esoko/mapguesser#38 2021-05-08 22:43:45 +02:00
feature/avoid-repeating-places-in-game

Really good feature, thank you for implementing this! I just had some minor findings.

bence commented on pull request esoko/mapguesser#38 2021-05-08 22:39:27 +02:00
feature/avoid-repeating-places-in-game

I would check if count($unvisitedPlaces) == $n before calling this function so we could save a function call and a DB query in a lot of cases.

bence commented on pull request esoko/mapguesser#38 2021-05-08 22:24:10 +02:00
feature/avoid-repeating-places-in-game

I wouldn't reformat this. There is no official coding guideline but I usually put a space after if, while, for, etc.

bence commented on pull request esoko/mapguesser#38 2021-05-08 22:22:05 +02:00
feature/avoid-repeating-places-in-game
bence commented on pull request esoko/mapguesser#38 2021-05-08 22:18:04 +02:00
feature/avoid-repeating-places-in-game

This can be removed too.

bence commented on pull request esoko/mapguesser#38 2021-05-08 22:17:34 +02:00
feature/avoid-repeating-places-in-game

This can be private now. And I don't remember why it has a parameter $exclude but I would remove that for a better understaning and create a local variable instead.

bence commented on pull request esoko/mapguesser#38 2021-05-08 21:39:03 +02:00
feature/avoid-repeating-places-in-game

If it is refactored anyway I would directly use $this->joins and local variable $joins (line 331) becomes unnecessary.

bence commented on pull request esoko/mapguesser#38 2021-05-08 21:35:04 +02:00
feature/avoid-repeating-places-in-game

Better to use $array[] = to add a new element to an array because it is more efficient according the the PHP docs:

bence deleted branch feature/more-accurate-new-selection-in-mapeditor-on-google-maps from esoko/mapguesser 2021-05-02 19:45:26 +02:00
bence pushed tag Release_2105.3 to esoko/mapguesser 2021-05-02 18:49:50 +02:00
bence deleted branch feature/pano-could-be-indoor from esoko/mapguesser 2021-05-02 18:49:01 +02:00
bence merged pull request esoko/mapguesser#37 2021-05-02 18:44:41 +02:00
do not exclude indoor panoramas