text:
平板上横屏显示时蒙层宽度无法充满屏幕，会留下一个虚拟导航的高度的距离，2.0.4版本

提issue前请去WIKI#常见问题找找相关问题，避免重复提问
提issue前请务必参考以下格式填写，否则该问题优先级将会降低

系统版本：
库版本：
问题描述/重现步骤：
问题代码/截图：
报错信息：

请更新到最新版本

我刚刚下载了DEMO来试，还是出现蒙层不能全屏，竖屏显示蒙层就能全屏显示

好的，我看看，另外请补充issue模板信息

同有这个问题

好像是屏幕适配引起的，我把屏幕适配去掉就正常了

@lerooooooooy 如果用了头条类适配方案，本库不会去适配头条的适配。详见QA

问题出在这里:
PopupUiUtils.java#L125
对于平板而言，在横屏状态下navigation居然处于底部，也因此导致了这个问题。

please update to candy ver 2.2.1.190517
here is test screenshot
onPhone：

onPad：

authors: cc365774016 lerooooooooy razerdp

repo: razerdp/BasePopup


text:
version correction

Note :- Please follow the below points while attaching test cases document link below:
- If label Tested is added then test cases document URL is mandatory.
- Link added should be a valid URL and accessible throughout the org.
- If the branch name contains hotfix / revert by default the BVT workflow check will pass.

Test Case Document URL

Please paste test case document link here....

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (25f4ac2) 49.45% compared to head (6aa6a06) 49.45%.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #368   +/-   ##
=========================================
  Coverage     49.45%   49.45%
  Complexity      255      255
=========================================
  Files            34       34
  Lines           734      734
=========================================
  Hits            363      363
  Misses          371      371

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Where is config option in your code?

source: gharchive/pull-request

authors: ankitdas13 codecov-commenter techxtend

repo: razorpay/razorpay-php

license: MIT

license_type: permissive

license_source: github-api


text:
Still problems with font loading on Windows

The culprit is utils::sscanf(). It seems like Windows just don't want me to use it.
Use the tokenizer instead.

Works now.

source: gharchive/issue


text:
Adding on pointer event

i tested vue drawing canvas with drawing tablet, and stylus is not working ,but with event onPointer is working fine)

did you make sure that this event run on drawing tablet or stylus? i don't have any of these to find out

Sure bro

i have this one and its work fine )
https://www.amazon.com/Wacom-Cintiq-Drawing-Tablet-DTK1660K0A/dp/B07L77GTTY?ref_=ast_sto_dp&th=1

authors: mishahobanov razztyfication

repo: razztyfication/vue-drawing-canvas


text:
If .rbenv-vars isn't present but .env is, use that.

Allows you to use the same file as Foreman (https://github.com/ddollar/foreman), a commonly used tool for developers targeting Heroku (as well as any other environment variable based deployment).

This is old, but I wanted to comment on the (now somewhat prevalent) dotenv
This particular project is a gem for ruby/rails, but expects a standard source-able file with key=value pairs and optional export commands.
There is also a node variant based on the same file format: dotenv

I'm :+1: for supporting .env files if it's done in a manner compatible with other solutions which source .env files.

:-1: on supporting .env files. IMO, rbenv-vars is finished, feature-wise. I don’t see any reason to add support for a different file format here—let’s make a new plugin instead.

I disagree with you @sstephenson.
.rbenv-vars is a superset of .env, so why not try to read .rbenv-vars and then .env, then  using the same parsing code.  It means that it just works with already existing .env files rather than having to symlink them.
The patch is very small, so it's an additional feature for next-to-no-impact.
Making another plugin (effectively a complete fork of this project, strip out some of the features, make it look for .env and then be sure to track changes to the upstream project feels like a complete waste of effort in terms of duplication)

@andyjeffries Well, since this is @sstephenson's project and he seems pretty adamant about not adding new features to it, I guess there's little point in arguing.
The patch is small, but potential ramifications (and future maintenance) could be significant. I agree that the best approach might be to create a new plugin that only handles .env files. Then, for people who need both, they can install both plugins.

Fair enough.

authors: andyjeffries jasonkarns mislav sstephenson

repo: rbenv/rbenv-vars

license: mit

license_source: bigquery


text:
Question/Suggestion: Creation of CREATE TABLE statements

Hi,
First I just want to say I really like this library, I think you've done a great job here and hacking on the code helped me improve my understanding of Cpp11 a great deal. So thanks for that! :)
One of the things I've wrote is a little helper function that creates a CREATE TABLE statement from a given table. For example if we use the following PPGEN code
SQLPP_DECLARE_TABLE(
(tab_test),
(id     , int         , SQLPP_PRIMARY_KEY)
(name   , varchar(255), SQLPP_NOT_NULL   )
(feature, int         , SQLPP_NOT_NULL   )
)
My function outputs:
CREATE TABLE tab_test(id INTEGER AUTOINCREMENT NOT NULL,name TEXT NOT NULL,feature INTEGER NOT NULL);
Currently this only supports AUTOINCREMENT, NOT NULL and basic types (Everything is INTEGER or TEXT). But obviously this is just a quick&dirty proof of concept!
I was wondering if this is something you'd like to merge into the library. If so I'll work on making it more robust.

Hi,
Some time ago I started to work on the same functionality for PPGEN, but still not finished.
The idea is that SQLPP_DECLARE_TABLE() contains a 'static const char *' member that can be used by any databases front-ends.
At the moment, the generation of the request of creating tables for sqlite3 is implemented (not completely).
Using this PPGEN code:
SQLPP_DECLARE_TABLE(
	(tab_person
		,SQLPP_ENGINE("InnoDB")
		,SQLPP_CHARACTER_SET("utf-8")
		,SQLPP_COMMENT("'tab_person' table comments")
	)
	,
	(id, int
		,SQLPP_PRIMARY_KEY
		,SQLPP_AUTO_INCREMENT
	)
	(name, varchar(255)
		,SQLPP_NOT_NULL
		,SQLPP_DEFAULT('some name')
		,SQLPP_INDEX() // auto-generated index name
	)
	(feature, int
		,SQLPP_NOT_NULL
		,SQLPP_INDEX("col_feature_index") // hardcoded index name
	)
	(age, int
	)
)

this request can be generated:
    static constexpr const char* _create_table = "BEGIN;\n"
                                                 "CREATE TABLE "
                                                 ""
                                                 "tab_person"
                                                 "("
                                                 "\n\t"
                                                 "id"
                                                 " "
                                                 "int"
                                                 " "
                                                 "PRIMARY KEY "
                                                 "AUTOINCREMENT "
                                                 "\n\t"
                                                 ","
                                                 "name"
                                                 " "
                                                 "varchar(255)"
                                                 " "
                                                 "NOT NULL "
                                                 "DEFAULT "
                                                 "'some name'"
                                                 "\n\t"
                                                 ","
                                                 "feature"
                                                 " "
                                                 "int"
                                                 " "
                                                 "NOT NULL "
                                                 "\n\t"
                                                 ","
                                                 "age"
                                                 " "
                                                 "int"
                                                 " "
                                                 "\n);\n"
                                                 "COMMIT;";

Hi,
Glad you like the library and that it helped you with your understanding of C++11 :-)
I like the idea of generating CREATE TABLE statements using sqlpp11. It is on my wish list :-)
As of now, my goal is to

add a few more optional fields to the C++ column and table specification types, e.g. primary_key or constexpr x default_value = 3 etc.
add a create_table function to sqlpp11
provide a default interpretation in sqlpp11
provide specialized interpretations in the connector libraries

Should not be that hard, actually.
Of course, it would make sense to extend and use @niXman 's PPGEN to specify the C++ types for this, see examples/ppgen.cpp

I am very interested to this feature too... can I ask what is its status, and if there is anything that we can do to speed up development?

@niXman Maybe you could comment?
In any case, the best way to speed things up is to create a pull request :-)

I have some ideas in mind for a pull request, indeed! :)
However, I am a very new user of the library and I would therefore appreciate an headstart:

is there any way to query the fields of a table, i.e. to retrieve a list of fields without knowing them in advance? Is this an acceptable way to go, in case this feature is just "not ready yet"?
in the same way, is there a way to obtain a list of field tags (e.g. "not null", "default", etc.)
how do I translate the tags or field types to SQL commands? is there a sqlpp11 function or should I look in the connectors?
is boost.hana an acceptable dependency?

Thank you again for the useful library!

Hi,

table types contain a _column_tuple_t. This would give you the data you need. In both, table and column, _alias_t::_name_t should be used to obtain the name.
can_be_null is available already, however there is data missing like AUTOINCREMENT or a default value. These could be added to the column specifications.
I would try to go for a default implementation in sqlpp11 which could be (partially) overridden in the connector libraries
boost.hana is C++14, while sqlpp11 is C++11. Also, I try to keep dependencies to a minimum.

Cheers,
Roland

Thank you for the information. That already got me started.
@niXman Would you mind share your code for this feature, so I can take over where you left it?
Maybe @blapid can do the same?

I've had a semi-functioning proof of concept back when I posted this issue, but unfortunately did not have the time to keep working on it.
I'll post the snippets below, I hope you'll find them useful but I'll understand if you wont like them ;)
When I've worked on this, I've detached from v0.35, I hope this will still work for newer versions.
Alright, let's get into it:
The first thing I did is add type names to some data types. For example for the boolean data type, I changed the file /include/sqlpp11/data_types/boolean/data_type.h like this:
     template <typename T>
     using _is_valid_operand = is_boolean_t<T>;
+
+    static constexpr const char _literal[] =  "BOOLEAN";
+    using _name_t = make_char_sequence<sizeof(_literal), _literal>;

I've done this for bool, integer and text. Remember that these might change depending on the actual DB that we're using. So this might actually belong in the connector api? Maybe with default values in the library itself? You'd probably have to do some more template structs that takes an sqlpp11 data type as typename and hold it's own relevant name under _name_t or uses the default from the library. But I may be missing an easier solution :).
Then I had to use variadic template magic to go through all of the columns and create the CREATE query. I've used  include/sqlpp11/interpret_tuple.h as a reference, mainly copying what interpret_tuple does with slight alterations.
The full snippet:

#include <tuple>
#include <sqlpp11/type_traits.h>
#include <sqlpp11/serialize.h>
#include <sqlpp11/detail/index_sequence.h>
#include <sqlpp11/container/connection.h>
#include <stdio.h>
namespace sqlpp_test
{
  template <typename Element, typename Separator, typename Context, typename UseBraces>
  static void interpret_tuple_element(
      const Element& element, const Separator& separator, Context& context, const UseBraces&, size_t index)
  {
    if (index)
      context << separator;
     /*
    if (UseBraces::value)
      serialize_operand(element, context);
    else
      serialize(element, context);
     */
     context <<  Element::_alias_t::_name_t::char_ptr() << " " << Element::_traits::_value_type::_name_t::char_ptr();
     if (sqlpp::detail::is_superset_of<typename Element::_traits::_tags, sqlpp::make_traits<sqlpp::tag::must_not_insert,
         typename sqlpp::tag::must_not_update>::_tags>::value)
     {
         context << " AUTOINCREMENT";
     }
     if (!sqlpp::detail::is_element_of<typename sqlpp::tag::can_be_null, typename Element::_traits::_tags>::value)
     {
         context << " NOT NULL";
     }

  }

  template <typename Tuple, typename Separator, typename Context, typename UseBraces, size_t... Is>
  auto interpret_tuple_impl(const Tuple& t,
                            const Separator& separator,
                            Context& context,
                            const UseBraces& useBraces,
                            const sqlpp::detail::index_sequence<Is...>&) -> Context &
  {
    // Note: A braced-init-list does guarantee the order of evaluation according to 12.6.1 [class.explicit.init]
    // paragraph 2 and 8.5.4 [dcl.init.list] paragraph 4.
    // See for example: "http://en.cppreference.com/w/cpp/utility/integer_sequence"
    // See also: "http://stackoverflow.com/questions/6245735/pretty-print-stdtuple/6245777#6245777"
    // Beware of gcc-bug: "http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51253", otherwise an empty swallow struct could
    // be used
    using swallow = int[];
    (void)swallow{0,  // workaround against -Wpedantic GCC warning "zero-size array 'int [0]'"
                  (sqlpp_test::interpret_tuple_element(std::get<Is>(t), separator, context, useBraces, Is), 0)...};
    return context;
  }

  template <typename Tuple, typename Separator, typename Context>
  auto interpret_tuple(const Tuple& t, const Separator& separator, Context& context) -> Context &
  {
    return sqlpp_test::interpret_tuple_impl(t, separator, context, std::true_type{},
                                sqlpp::detail::make_index_sequence<std::tuple_size<Tuple>::value>{});
  }

  template <typename Tuple, typename Separator, typename Context>
  auto interpret_tuple_without_braces(const Tuple& t, const Separator& separator, Context& context) -> Context &
  {
    return sqlpp_test::interpret_tuple_impl(t, separator, context, std::false_type{},
                                sqlpp::detail::make_index_sequence<std::tuple_size<Tuple>::value>{});
  }
}

The main changes being:
     ...
     context <<  Element::_alias_t::_name_t::char_ptr() << " " << Element::_traits::_value_type::_name_t::char_ptr();
     if (sqlpp::detail::is_superset_of<typename Element::_traits::_tags, sqlpp::make_traits<sqlpp::tag::must_not_insert,
         typename sqlpp::tag::must_not_update>::_tags>::value)
     {
         context << " AUTOINCREMENT";
     }
     if (!sqlpp::detail::is_element_of<typename sqlpp::tag::can_be_null, typename Element::_traits::_tags>::value)
     {
         context << " NOT NULL";
     }
     ...

The first line adds the name of the column, followed by its type name (that we've added above).
The second part checks that the columns traits have must_not_insert and must_not_update (iirc), and if so, adds "AUTOINCREMENT".
The third part checks can_be_null as @rbock mentioned.
This may be used as following:
#include <sqlpp11/sqlpp11.h>
#include <sqlpp11/ppgen.h>

SQLPP_DECLARE_TABLE(
	(tab_test)
	,
	(id     , int         , SQLPP_PRIMARY_KEY)
	(name   , varchar(255), SQLPP_NOT_NULL   )
	(feature, int         , SQLPP_NOT_NULL   )
)

int foo(int, char* [])
{
  sqlpp::container::context_t context;

  context << "CREATE TABLE " << tab_test::tab_test::_alias_t::_name_t::char_ptr() << "(";
  sqlpp_test::interpret_tuple(tab_test::tab_test::_column_tuple_t{}, ',', context);
  context << ");";
  printf("%s\n",context.str().c_str());
}

First, we declare the table using PPGEN, however, any table would work assuming it has the right traits.
Then, in our function, we start the CREATE query with the table's name, then use interpret_tuple to add the rest of the information.
Finally, we close the query and printf.
FIN
As I've said, proof of concept, but I think it's possible to integrate it in if you have the time. As @rbock said, default value (and probably other stuff that we're missing) need to be added to column specification or to the library.
Hope this helps!

@blapid, @rbock, @matpen, I'm sorry, but I will not be able to reply about subj until the end of the week.

Thank you @blapid for your snippets: my plan is to get them to work, and fork a branch where we can share progress. I would like to ask @rbock about his opinion on the type names: storing them in the data types (data_types.h) seems logical, but maybe it is harder to override in the connectors? Should we centralize all types in a separate function?
@niXman Thank you for posting: do not worry, I have limited free time at the moment, too, so I won't be doing much before you find the type to reply.

@matpen I would use the serialize function for serializing data types. Then you can use specialization in the connectors to override where necessary (just as with everything else).

Currently sqlpp11 supports the data type date (via sqlpp::day_point), datetime (via sqlpp::time_point). I would like to ask if there is any corresponding update on the files under sqlpp11/ppgen/colops ?

Unfortunately I did not have time to work on those files. So no, there is no change, at least from my side.

@choiip done: https://github.com/rbock/sqlpp11/pull/185

I assume since it has been a year since the last comment this feature never made it to the light of day. How do you recommend initializing a database system at the moment? Running the queries from the cmd line manually via a file input?
Is there a way in the C++ lib to detect if the tables do not already exist to trigger this cmd line functionality?

I am adding this to the wish list I am currently compiling.

Any update on this feature?

No update for sqlpp11. Admittedly, I am hoping for someone who actually has a use case (I don't) :-)
I wrote a prototype in sqlpp17. I won't finish that library, but you could try to migrate that code to sqlpp11.

@rbock I'm working at a different level, using LLVM (clang, libclang, libtooling) to synchronise [bidirectionally] OpenAPI with the code. I've done the same in Python, and WiP for Rust, Swift, Java, and Kotlin.
I am currently weighing up ODB, Oat++, SOCI, cppdb, and sqlpp11 for the ORM layer, and will decide what to use for the REST API layer once that first decision is made (as some of these were developed as part of a REST API ++ framework).
With my compiler driven approach, I expect people to be able to rapidly produce REST API + db backends with full test and doc coverage, and be able to immediately translate the interfaces across language boundaries (e.g., to frontends, or to rewrite a slow-performing Python backend in C++ or Rust).
Currently focussing on the non-Turing-complete aspect of this, translating just the interfaces, tests, docs, defaults, and types.
Happy to beta test, but I've got this more immediate problem and I don't want to get distracting (unless I get into the game of actually maintaining ORMs… but doubt I have the time)

I am sharing the same predicament: Time is too scarce.
Providing interfaces to create tables via sqlpp11 is possible. But it is difficult to offer one interface across all database vendors as they all have their own specific nuts and bolts. That is why I left the table creation logic outside of the actual C++ code. Or in other words: My C++ code usually expects the database to exist before the program gets started.
I am not sure I fully understand your goal, but I think I am aiming for something similar (long term): Being able to translate fluently between objects in C++ and their representation in databases using reflection (in C++26 or so).

@rbock Happy to assist. What I need are examples inputs and outputs, say with guards or similar, for each database. Then I'll using LLVM libclang libtooling to translate a POC++C (Plain Old C++ Class) to a "database table" and back again.
But I don't know what it's meant to look like, which is why I'm seeking a ready-made framework for this…

Let me point out that you can create tables in sqlpp11 using the connection's execute method. It obviously does not have the same type safety guarantees as the rest of the library offers, but it is an option.
Personally, I won't write a create table method for sqlpp11 any time soon. There are just too many different flavors of how to create tables between different databases. IMO, the cost of creating such functions for each connector is not justified by the benefits.

authors: SamuelMarks blapid choiip mastergberry matpen niXman rbock


text:
#2: Remove $ from method names

Avoid using dollars in Scala identifiers to prevent compiler conflicts.

Additionally, I adjusted the .gitignore a bit because with the current implementation, a bunch of IntelliJ working files wanted to get added with the commit. Simply excluding the .idea directory should do it. Similarly, .bsb was not ignored at all. I didn't touch anything else, but the file contains items unrelated to this project, concerning other build tools not used by this project, etc. I left those as they were.
As for functional changes - in accordance with the agreements in the issue.

Woah, man. Thanks! 🎉 I'll review the changes during the weekend.

@baldram, do you have the time to update also the README file with the new names of the two methods?
If you don't, I'll take care of it 🫶

@baldram, do you have the time to update also the README file with the new names of the two methods?

README.md is updated, did I overlook anything. I think any occurrence in the project is fixed.
Both catching and asTry have snipped in documentation and introduction. Or you mean adding more documentation above what was existing so far? Of course, I can do something more, but need a clarification what it would be or what did I overlook?

Sorry, I reviewed it from my iPhone 😅.
Approved 👌

I have no rights to merge it. If all fine, please feel free to merge. Thank you!

@baldram, merged. Thanks a lot for the valuable contribution. If you have any other ideas to evolve the library, please feel free to open a new PR or to discuss it directly/

authors: baldram rcardin


text:
Lane Dragging not working correctly?

Hello!
I am just testing your library but it appears that the ability to drag lanes is not working properly. It seems that I can drag the cards properly, just not the lanes even when I set the draggable field to true.
This could be pilot error on my part. I am currently just using static data if that matters.

Nevermind. Just dumb.

I know this is a while ago and close but do you remember what fixed it? I've literally come across the same issue and I have no idea what I'm missing.

I was also being stupid, forgot to add the draggable param to <Board>.

repo: rcdexta/react-trello


text:
这个环境启动有些问题

说明你系统里缺少一些软件包，拿错误信息在网上搜就可以找到解决方案。

可以加个微信吗？和你学习一下

说明你系统里缺少一些软件包，拿错误信息在网上搜就可以找到解决方案。

可以加你的微信吗，和你学习一下内核

说明你系统里缺少一些软件包，拿错误信息在网上搜就可以找到解决方案。
我有些嫉妒你了

authors: helloyaoge jiegec

repo: rcore-os/rCore


text:
No collision detection for git usernames

Describe the bug
Whenever you try to sign up with a github handle that is already in the database, the website will crash.
To Reproduce
Steps to reproduce the behavior:

Go to sign up
Fill in with the github handle that is already in the database
Profit

Expected behavior
There should be a pop up that says "Error: That github handle is already in use".

Trying to sign up with an existing email address has the same effect

This should be a similar fix to #23

Closed by #47

authors: TungE rushsteve1 sommea

repo: rcos/observatory-new


text:
Filterbyuser

filter by user is working. We need a way to default to all users.

:ok_man:

repo: rcwestlake/chatterbox


text:
README.md conan commands throw errors

Describe the bug
I'm new to conan and entered the build commands as described in the README.md but conan seems to have changed its syntax and throws errors.
To Reproduce
As specified in README.md: (after installing conan with pip)
rdf4cpp$ conan user
'user' is not a Conan command. See 'conan --help'.
ERROR: Unknown command 'user'
rdf4cpp$ conan profile new --detect default
usage: conan profile [-h] [-v [V]] {detect,list,path,show} ...
conan profile: error: argument subcommand: invalid choice: 'new' (choose from 'detect', 'list', 'path', 'show')
ERROR: Exiting with code: 2
conan profile update settings.compiler.libcxx=libstdc++11 default
rdf4cpp$ conan profile update settings.compiler.libcxx=libstdc++11 default                                                                                develop
usage: conan profile [-h] [-v [V]] {detect,list,path,show} ...
conan profile: error: argument subcommand: invalid choice: 'update' (choose from 'detect', 'list', 'path', 'show')
ERROR: Exiting with code: 2
rdf4cpp$ conan remote add dice-group https://conan.dice-research.org/artifactory/api/conan/tentris

rdf4cpp$ cmake -B build                                                                                develop
-- Conan: checking conan executable
-- Conan: Found program /home/konrad/.local/bin/conan
-- Conan: Version found Conan version 2.0.12
-- Conan executing: /home/konrad/.local/bin/conan install /home/konrad/tmp/rdf4cpp/conanfile.py --build missing --env:host CC=/usr/bin/cc --env:host CXX=/usr/bin/c++ --options with_test_deps=False --options boost:header_only=True --settings build_type=Release --settings compiler=gcc --settings compiler.version=13 --settings compiler.libcxx=libstdc++11
usage: conan install [-h] [-v [V]] [-f FORMAT] [--name NAME]
                     [--version VERSION] [--user USER] [--channel CHANNEL]
                     [--requires REQUIRES] [--tool-requires TOOL_REQUIRES]
                     [-b BUILD] [-r REMOTE | -nr] [-u] [-o OPTIONS_HOST]
                     [-o:b OPTIONS_BUILD] [-o:h OPTIONS_HOST]
                     [-pr PROFILE_HOST] [-pr:b PROFILE_BUILD]
                     [-pr:h PROFILE_HOST] [-s SETTINGS_HOST]
                     [-s:b SETTINGS_BUILD] [-s:h SETTINGS_HOST] [-c CONF_HOST]
                     [-c:b CONF_BUILD] [-c:h CONF_HOST] [-l LOCKFILE]
                     [--lockfile-partial] [--lockfile-out LOCKFILE_OUT]
                     [--lockfile-packages] [--lockfile-clean]
                     [--lockfile-overrides LOCKFILE_OVERRIDES] [-g GENERATOR]
                     [-of OUTPUT_FOLDER] [-d DEPLOYER]
                     [--deployer-folder DEPLOYER_FOLDER] [--build-require]
                     [path]
conan install: error: unrecognized arguments: --env:host CC=/usr/bin/cc --env:host CXX=/usr/bin/c++
ERROR: Exiting with code: 2
CMake Error at build/conan.cmake:651 (message):
  Conan install failed='2'
Call Stack (most recent call first):
  cmake/conan_cmake.cmake:18 (conan_cmake_install)
  CMakeLists.txt:16 (install_packages_via_conan)

Environment

OS: Arch Linux
Conan: 2.0.12
gcc 13.2.1
cmake 3.27.5

Not knowing the syntax I have looked into the conanfile in this repo, and it seems to mention conan version 1.6, is this maybe not compatible with the current conan version 2?
If so should I pip install conan<2 instead?


text:
RDKCOM-4775: RDKBDEV-2644: fix return value from void

Reason for change:
fix return value from void function WanMgr_UpdateIpFromCellularMgr() Test Procedure: Sanity.
Risks: None.
Signed-off-by: Andre McCurdy armccurdy@gmail.com
Priority: P1
Change-Id: I3021ff5d4baa3163d5c412290105e429b4baf95d

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

build-rpi4-broadband-kirkstone Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/3c0832a2df773b64b46c36d72bc5cc06

Job started https://jenkins.code.rdkcentral.com/job/manual-verification/4046/

Job started https://jenkins.code.rdkcentral.com/job/manual-verification/4047/

Sanity tests for ['RPI4 Mediaclient'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/49472/

Sanity tests for ['RPI4 GW BB Kirkstone'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/49473/

repo: rdkcentral/RdkWanManager


text:
RDK-30554: Thunder API for Set System Time

Reason for change: the need to set the time by the user
Implements: 	new method: setTimeFromUser, parameter: timestamp: string
Test Procedure: see the docs
Signed-off-by: Sergiy Gladkyy sgladkyy@productengine.com
Risks: None

Closing this outdated PR. Please submit this to the latest sprint branch if needed.

authors: sergiygladkyy vijs

repo: rdkcentral/rdkservices


text:
Wavy bonds in mol blocks can't be stereo enumerated

Test case.
If we round trip them through cx smiles, they can be stereo enumerated.
  SECTION("ensure we can enumerate stereo on either double bonds") {
    auto mol = R"CTAB(
  Mrv2004 11072316002D

  0  0  0     0  0            999 V3000
M  V30 BEGIN CTAB
M  V30 COUNTS 8 8 0 0 1
M  V30 BEGIN ATOM
M  V30 1 C 1.859 2.7821 0 0
M  V30 2 C 3.2818 2.1928 0 0
M  V30 3 C 3.8711 0.77 0 0
M  V30 4 C 3.2818 -0.6528 0 0
M  V30 5 C 1.859 -1.2421 0 0
M  V30 6 C 0.4362 -0.6528 0 0
M  V30 7 C -0.1533 0.77 0 0
M  V30 8 C 0.4362 2.1928 0 0
M  V30 END ATOM
M  V30 BEGIN BOND
M  V30 1 1 1 2
M  V30 2 1 2 3
M  V30 3 1 4 3 CFG=2
M  V30 4 2 4 5
M  V30 5 1 5 6
M  V30 6 1 6 7
M  V30 7 1 7 8
M  V30 8 1 1 8
M  V30 END BOND
M  V30 END CTAB
M  END)CTAB"_ctab;
      //mol->debugMol(std::cerr);
      std::string smi = MolToCXSmiles(*mol, SmilesWriteParams());
      std::cout << smi << std::endl;
      auto f = SmilesToMol(smi);
      f->getBondWithIdx(0)->setStereo(Bond::BondStereo::STEREOCIS);
      mol->getBondWithIdx(3)->setStereo(Bond::BondStereo::STEREOCIS);
      delete f;
  }
}

Above molblock

I was about to open an issue for this exact example, thank you. 😊

authors: Adafede bp-kelley

repo: rdkit/rdkit


text:
Add java builds to azure devops

Adds two new pieces to the Azure DevOps build matrix: Linux and Mac builds for the Java SWIG wrappers.
Some notes:

We should add windows builds to this at some point in the future, but I wanted to at least get something in place now. When we do them, those could also test the C# bindings.
Note that this also tests that building/using static linkage actually works. That's been a rude surprise a couple of times in the past.
The rude surprises mentioned above explain why there are also a couple of changes to the cmake files associated with this PR.

I'm attaching this PR to the next milestone on the release branch. Having automated builds/testing of the SWIG wrappers there would definitely be a good thing and the changes to the cmake files are already there anyway.

The appveyor build here is failing, but given that the Azure DevOps windows build, which covers more, works I'm having a hard time motivating myself to try and fix that.
I'm tempted to disable the appveyor connection since that's really just testing whether or not a subset of the code builds on Windows.

I would drop it.  I can easily set up the rdkit-csharp repo to make c# builds.  There is a swig bug with one of the enums that needs to be patched, I’ll see if I can sort that out as well.

Brian Kelley

On May 21, 2019, at 2:30 PM, Greg Landrum notifications@github.com wrote:
The appveyor build here is failing, but given that the Azure DevOps windows build, which covers more, works I'm having a hard time motivating myself to try and fix that.
I'm tempted to disable the appveyor connection since that's really just testing whether or not a subset of the code builds on Windows.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I think we can add another entry to the azure devops build matrix that does both the Java and C# SWIG wrappers.

Let me confirm that this builds on my "normal" windows box. If that works I will remove the appveyor builds

windows build worked fine for me.
The most recent commit removes appveyor.yml. I will disable the github connection when this PR is merged.

You’ll need to merge by hand here as GitHub doesn’t want to merge when tests are failing.

You’ll need to merge by hand here as GitHub doesn’t want to merge when tests are failing.

That is, fortunately, just a "feature" of the mobile UI. The standard web UI lets you merge despite failing tests. It's done.
I'll disable the appveyor connection.

authors: bp-kelley greglandrum


text:
Enable storing queries in JSON

Allow query information to be serialized to/deserialized from the MolInterchange JSON format.
Instead of modifying the commonchem schema, this stores the query info in an RDKit-specific representation

@greglandrum this will take me a day or two to go over.

Sure, no problem.


text:
🛑 OAuth2 方糖通行证开放平台授权登录 is down

In 02d276e, OAuth2 方糖通行证开放平台授权登录 ($OAUTH2_HEALTH) was down:

HTTP code: 530
Response time: 283 ms

Resolved: OAuth2 方糖通行证开放平台授权登录 is back up in 628427d.


text:
Question: Multiple TavNavigators update changes across them all

Details
I have an app where I have multiple TabNavigators.
Each TabNavigator contains a list of items but in different ways for different tabs like: liked items list, viewed items list, not viewed items list, etc...
Question
Which is the best way to update an item which will update across multiple TabNavigations when the user for example, likes it? The issue I have now is that when I update an item from a list, it doesn't reflect that change in another list right away. I have to refresh the app as the changes are saved in the database but the state of the list is somehow "internal" to the corresponding tab.
Any suggestions?

software
version

react-navigation
1.0.0-beta.11

react-native
0.45.1

node
8.0.0

yarn
0.24.5

My suggestion is to  use redux to hold all states in this context.

Hi! In an effort to get the hundreds of issues on this repo under control I'm closing issues tagged as questions. Please don't take this personally - it's simply something we need to do to get the issues to a manageable point. If you still have a question I encourage you to re-read the docs, ask on StackOverflow, or ask on the #react-navigation Reactiflux channel. Thank you!

authors: cityvoice florinpop17 spencercarli

repo: react-community/react-navigation


text:
autoPlayEffect 参数ts不支持，提示没有参赛

麻烦看看，autoPlayEffect 设置为false，鼠标移入移出会自动播放，不会停止。效果好像是有的，但是提示没有这个参数

ts 漏写了。。。功能可用就行了，，或都你来个 pr 加一下。。

repo: react-component/banner-anim


text:
Crop zone exceeds natural image size

The image returned by cropper is much larger than the original image.
It seems that fengyuanchen cropper had this issue, but it is fixed now. See issue:
https://github.com/fengyuanchen/cropper/issues/34
Can you confirm witch version of fengyuanchen is used by react-cropper?
Also I still have this problem, so when uploading a 300kb file it become 1.9Mb after cropping; the difference is huge.

Could you check what version of react-cropper are you using?
The latest version of recat-cropper is using https://www.npmjs.com/package/cropperjs not https://www.npmjs.com/package/cropper.
If you use the latest version of react-cropper 0.6.2 and still have this problem, would you please attach the screenshot to this discussion?

React code where I call react-cropper:
`var ReactAddAndCropImages = React.createClass({
...
_cropImage: function(){
var newImage = {
...
data: this.refs.cropper.getCroppedCanvas().toDataURL(),
};
...
},
...
render: function(){
return(
<ReactCropper
ref='cropper'
src={this.state._originalImage}
style={{height: 400, width: 600}}
autoCropArea={0.2}
background={false}
dragMode='move'
viewMode='0'
cropBoxResizable={false}
cropBoxMovable={false}
strict={false}
                                minCropBoxWidth={600}
                                minCropBoxHeight={400}
                                guides={false}

                                minCanvasWidth={600}
                                minCanvasHeight={400}

                                crop={this._crop} />
                   ...`

1 I add a jpeg image but cropper returns a png;
2 data returned by cropper at: data: this.refs.cropper.getCroppedCanvas().toDataURL(), is actually in different size that the original one.
Screen shot:

Uploaded images:

result images

Any suggestions?

It turns out that the issue is the image, not the cropper.
Thank you.

@ClaudiuHar may I ask how you handled the uploading of multiple images and getting rid of the background sizing?

Is the problem solved?@ClaudiuHar

It seems that the problem is still there, and it is related to the picture, sometimes it is 10 times larger, sometimes only 2 times larger

authors: ClaudiuHar PGDJ bowlingQ oliviazhangjuan roadmanfong

repo: react-cropper/react-cropper


text:
Remove files that should have been ignored from .git history

Currently, the react-dnd repo sits at 435MB! I was surprised to see this when I tried to clone the repo.
99% of this size comes from files that have accidentally committed and are now saved in the git history. I have used the shell command:
git rev-list --all --objects | \
sed -n $(git rev-list --objects --all | \
cut -f1 -d' ' | \
git cat-file --batch-check | \
grep blob | \
sort -n -k 3 | \
tail -n40 | \
while read hash type size; do
    echo -n "-e s/$hash/$size/p ";
done) | \
sort -n -k1

to find what the offending files were.
I then used git-filter-repo to remove these files from history. None of the removed files will have an effect on the functionality of the library. I matched the following patterns to remove:
--path:
.yarn
examples_ts/00-chessboard/node_modules

--path-regex:
.+\.js\.map$
\.pnp.js$
^main-.+\.js$
^.{40}-.{20}.js$
^.{1}-.{20}.js$
^.{2}-.{20}.js$
^component---.+\.js

This has removed all files larger than the yarn-lock files and reduces the repo size to 50MB. There could probably be other history to delete.
This is a big git history rewrite, so It will impact all open branches and PRs which will need to be rebased after this is merged. It is not a simple job, but having a repo of such a large size will impact the ability for developers in countries with limited internet, and should not be taken lightly imo.

This seems to have breaking changes.

@valtism Is there any follow-up on this? It's a pretty hefty repo, still, and growing it seems!

@amunrarara I was not able to re-write history without causing issues. I think that someone might be able to do it better than me, but you would have to investigate and do the work yourself.
If you want to check out the repo without history to avoid downloading so much, you can use git clone --depth 1 https://github.com/react-dnd/react-dnd/ for a shallow clone, where depth is how many commits back you want.

authors: amunrarara valtism

repo: react-dnd/react-dnd


text:
App is getting crash while reading photos in iOS.

👋 Hi!
I have found one issue in my crash logs.
RNCCameraRollManager.m - Line 393
__49-[RNCCameraRollManager getPhotos:resolve:reject:]_block_invoke_2 + 393
My iOS App is getting crash while getting photos and the code is:
[assets addObject:@{         @"node": @{           @"type": assetMediaTypeLabel, // TODO: switch to mimeType?           @"group_name": currentCollectionName,           @"image": @{             @"uri": uri,               @"filename": (includeFilename && originalFilename ? originalFilename : [NSNull null]),               @"height": (includeImageSize ? @([asset pixelHeight]) : [NSNull null]),               @"width": (includeImageSize ? @([asset pixelWidth]) : [NSNull null]),               @"fileSize": (includeFileSize ? fileSize : [NSNull null]),               @"playableDuration": (includePlayableDuration && asset.mediaType != PHAssetMediaTypeImage                                     ? @([asset duration]) // fractional seconds                                     : [NSNull null])           },           @"timestamp": @(asset.creationDate.timeIntervalSince1970),           @"location": (includeLocation && loc ? @{               @"latitude": @(loc.coordinate.latitude),               @"longitude": @(loc.coordinate.longitude),               @"altitude": @(loc.altitude),               @"heading": @(loc.course),               @"speed": @(loc.speed), // speed in m/s             } : [NSNull null])           }       }];
Please revert on this ASAP.

@tvpranav can you explain better where does it break and which commit needs to be reverted?

@dokkis It is breaking while getting photos in iPhone X (iOS version 13.5), May be any media is broken/corrupt in phone. It is working on iPhone XR (iOS version 13.5).
Error on line in RNCCameraRollManager.m where we set image object @"image": @{}.

@tvpranav are you able to try older version of the library to check if there is any that works and doesn't break to identify the change that bring this bug?

@tvpranav are you able to try out older versions of the library, to understand which version bring the problem in?

I am experiencing similar issue too.
{
    "@react-native-community/async-storage": "^1.11.0",
    "@react-native-community/cameraroll": "^4.0.0",
    "apollo-cache-inmemory": "^1.6.6",
    "apollo-client": "^2.6.10",
    "apollo-link-context": "^1.0.20",
    "apollo-link-http": "^1.5.17",
    "graphql": "^15.3.0",
    "graphql-tag": "^2.11.0",
    "react": "16.13.1",
    "react-apollo": "^3.1.5",
    "react-native": "0.63.2",
    "react-native-fbsdk": "^2.0.0",
    "react-native-linear-gradient": "^2.5.6",
    "react-native-navigation": "^6.10.1",
    "react-native-typography": "^1.4.1",
    "react-native-vector-icons": "^7.0.0"
}

When I write code to access the iPhone 11/ 11Pro Simulator (iOS 13.5) to access the CameraRoll, it crashes the App and return to the iPhone home screen.

I got the same bug because I did not add the keys into info.plist
    <key>NSPhotoLibraryUsageDescription</key>
    <string>This app requires access to the photo library.</string>
    <key>NSPhotoLibraryAddUsageDescription</key>
    <string>This app requires access to the photo library.</string>

it's not possible to add these with react native link ?

authors: Isaacwhyuenac dokkis laurentlouk tvpranav


text:
Camera roll does not return the currently taken picture

💥 Regression Report
CameraRoll doesn't return currently taken image and video.
Last working version
CameraRoll returns currently taken image and video.
Worked up to version:
Worked version is 0.57.4
Stopped working in version:
React native version 0.59.1
To Reproduce
1/ Use react-native-image-picker to launch default camera and take a picture
2/ Use CameraRoll to load 1 image and it load the image from long time ago, not the currently taken
Expected Behavior
CameraRoll should return the currently taken image. Or if there is anyway to force it to do so?
Code Example
CameraRoll.getPhotos({

    first: 1,
    assetType: 'All',
    groupTypes: 'All',

}).then((result) => {

    // DOES NOT return the currently taken image or video

    // The type of returned file is only 'image' ot 'video'

}).catch((error) => {

    console.log("loadOneMedia error", error);
});

Environment
info
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: (4) x64 Intel(R) Core(TM) i5-2415M CPU @ 2.30GHz
Memory: 1.07 GB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.13.0 - /usr/local/bin/node
npm: 6.9.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
Android SDK:
API Levels: 19, 21, 22, 23, 24, 25, 26, 27, 28
Build Tools: 23.0.1, 23.0.2, 25.0.0, 25.0.2, 26.0.2, 26.0.3, 27.0.3, 28.0.0, 28.0.1, 28.0.2, 28.0.3
System Images: android-18 | Google APIs Intel x86 Atom, android-19 | Google APIs Intel x86 Atom, android-21 | Google APIs Intel x86 Atom, android-22 | Google APIs Intel x86 Atom, android-23 | Intel x86 Atom_64, android-23 | Google APIs Intel x86 Atom, android-23 | Google APIs Intel x86 Atom_64, android-24 | Google Play Intel x86 Atom, android-25 | Google Play Intel x86 Atom, android-26 | Google Play Intel x86 Atom, android-27 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom
IDEs:
Android Studio: 3.2 AI-181.5540.7.32.5056338
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: 16.8.3 => 16.8.3
react-native: 0.59.1 => 0.59.1
npmGlobalPackages:
react-native-cli: 2.0.1
This issue is related to #12

👋 @truongluong1314520 so assuming you are just launching the camera and taking a picture with react-native-image-picker theres no need to even use the CameraRoll.
So you can do something like this to get the picture
ImagePicker.launchCamera(options, (response) => {
    const source = { uri: response.uri };
    // You can also display the image using data:
    // const source = { uri: 'data:image/jpeg;base64,' + response.data };
    this.setState({
      pictureSource: source,
    });
});

And the you can use it in the Image component like this:
<Image source={this.state.pictureSource} style={styles.cooPicture} />

You can find more in the react-native-image-picker README. Also you can take a look at the options available for launchCamera() specially the ones related to storage.

Thank you for your suggestion. I will change the logic of the app to see if it is available 😄

@truongluong1314520 it looks like there is a good workaround, let me know if you think there is still an actual bug. I think the image inside the CameraRoll is stored async when taking a picture and you don't know when it's there exactly, so the approach of using the ImagePicker looks like a much better approach to me.


text:
Cannot hide SearchBar underline on Android

Trying to hide the underline for the search bar on Android by setting the underline color for android to transparent but that is not working

@stief510 it's helpful to share the code.


text:
[Android] MaskedView does not render itself if its sizes are too large

MaskedView does not render if height is larger than 731px and/or width is larger than screen width. This is reproducible on both emulators and physical devices.

@thomasttvo I'm having the same issue. Any idea about a fix?

@jamesdunay In the end I had to chop it up in multiple pieces

Maybe this project need to use hardware accelerate.
Upload screenshot.

authors: Only-IceSoul jamesdunay thomasttvo


text:
error: method getJSEventName in enum ScrollEventType cannot be applied to given types;

Bug description:
In my package.json i have a dependency :
"react-native-webview": "^5.3.0".
Since "version": "5.8.1" all was OK and i got no problem with this package.
Now we are in "version": "5.9.0" and i got a breaking Bug.
To Reproduce:

npm install
react-native link
react-native run-android

Error message:
RNCWebViewManager.java:452: error: method getJSEventName in enum ScrollEventType cannot be applied to given types;
Screenshots/Videos:

Environment:

OS: Windows 10 pro
react-native version: 0.59.0
react-native-webview version: 5.9.0

This is already been resolved in https://github.com/react-native-community/react-native-webview/releases/tag/v6.0.1

Is there a way you'll can create a patch with 5.9.1 cos I don't want breaking changes.

Thanks. I should have paid attention to the most recent release. My npm took 5.9.0 when npm install. Sorry.

i'm not

I am not really a java developer and do not know how this package is made. But If I have time this weekend, I will look into it.
Thank you for the help, i should have been more careful and pay more attention to the latest version..

Thanks. I was waiting for the full screen PR to be merged for more then two months. ☹

Hello I fixed 6.0.2 and also released 5.9.1 if you don't want to upgrade!

v5.9.1 still experienced the same issue.

Same issue with the version 6.X.X. It's working good with 5.8.2.
My project use react native 0.57.2.

It's fixed for me, I upgraded react native in lastest version (0.59.8).

authors: HyperNovax Josephdias92 Titozzz briankoey nicolasdet


text:
feat(windows): implement additional methods

Description
Add Windows implementation for the following methods:

getBaseOs()
getBuildId()
getFontScale()
getFreeDiskStorage()
getInstallerPackageName()
getInstallReferrer()
getPowerState()
getTotalDiskCapacity()
getUsedMemory()
isBatteryCharging()

Compatibility

OS
Implemented

Windows
✅

Checklist

[x] I have tested this on a device for Windows
[x] I added the documentation in README.md

Hi @mikehardy ,
I've opened this PR to land after https://github.com/react-native-device-info/react-native-device-info/pull/1113 lands.
It's a draft for now, but I'll rebase it and mark it as a proper PR after https://github.com/react-native-device-info/react-native-device-info/pull/1113 is merged.

fantastic @jaimecbernardo I just returned yesterday and am slowly grinding through the backlog now, hoping to be caught up here by Monday or Tuesday

Thank you for merging https://github.com/react-native-device-info/react-native-device-info/pull/1113 , which this PR depended on .
I've now rebased this PR on top of current master and properly opened it as a PR instead of a Draft.
It's now ready for review.

Nevermind, it looks like the CI is failing when building.
I'll try to see if I can replicate this issue locally and update this PR.

It looks like CI was failing because the environment was using a recent version of Visual Studio (>=16.8) that caused an error building react-native-windows:
https://github.com/microsoft/react-native-windows/issues/6495
Running yarn upgrade react-native-windows and committing the yarn.lock files allows the example to build with Visual Studio >= 16.8 and the tests are now passing.

It's all live now :rocket:  https://github.com/react-native-device-info/react-native-device-info/releases/tag/v7.2.0

Thanks a lot for the quick turnaround @mikehardy 😃
Great work!

authors: jaimecbernardo mikehardy


text:
Discuss: openMenuOffset should be expressed as a fraction not in pixels

Current implementation of openMenuOffset defaults to 2/3 of the screen width. If no alternate value is provided it will be calculated internally using Dimensions.get('window').width * 2 / 3.
In order to use a different screen real-estate one can simply override the openMenuOffset value, however the new value needs to be calculated in the parent container.
A simpler, different, implementation could express openMenuOffset as a fraction and calculate the final width internally. For example openMenuOffset={2/3}, openMenuOffset={4/5} openMenuOffset={0.5} etc..
This will break current logic.

What's wrong with calculating it in the parent container? For the people needing pixel widths, this sort of approach would be even more obscure, ending up with a calculation like:
(desiredWidth / Dimensions.get('window').width) * Dimensions.get('window').width

Yeah i agree with @brianreavis i'm doing the same thing he recommended and it works perfect.

@rturk is it solved now?

Should be solved, so I'll close this one during the new feedback.

authors: Kureev brianreavis joshbedo rturk


text:
[🐛] When pick video from gallery, the URI looks like: 'content://' instead of 'file://' (ANDROID)

Description
When i try to pick video from gallery, i get uri: 'content://', but when i'm picking photo or taking it directly from camera(both photo and video), i get uri: 'file://' (in general, as I need). I would be grateful for any information!
How to repeat issue and example

select video from gallery
in response get uri: 'content://xxx'

Solution
Just need explanation how to get valid file path
Additional Information

Image Picker version: [3.8.0]
React Native version: [0.63.3]
Platform: [Android]
Development Operating System: [MacOS]

Yes, this is how its works. You can read more on this in the docs.

@ravirajn22 hey man,i have some problem that i can't get suffix in Response uri   when  i select video with android , how do i get it ?


text:
chore(example): 🔧 bring some life into the example app

:tada: This PR is included in version 4.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


text:
onClick Event on Background Mode

Issue
I searched the docs in order to listen to the click event on background player and redirect the user in my app to a specific screen when the player is running on background but I was unable to find a way to do this. This event type exists or it is possible to implement a new functionality? If it has to be implemented yet, is there any way I can help to accomplish it? Thanks in advance

Issue
I searched the docs in order to listen to the click event on background player and redirect the user in my app to a specific screen when the player is running on background but I was unable to find a way to do this. This event type exists or it is possible to implement a new functionality? If it has to be implemented yet, is there any way I can help to accomplish it? Thanks in advance

Its documented here.
But it just supports android

authors: HessiPard matheus-erthal


text:
Zoom level

Can i set the zoom level for the map once its open? when i work on android native, used to set the zoom level, but now i cant find a method for zoom level.

I'd also like to ask this :D

Hey folks
There is no ZOOm level here
Its called lat delta and long delta
e.g. 0.03 is about a few city blocks
Most of the north america/canada would be visible at
latitude_delta value 60
this works on both platforms very well

What is the equivalent delta to a mile or a km scale? @jeveloper

Here is my contribution , there isn't one, you have to think of width and height of a display and that is your ratio
let { width, height } = Dimensions.get('window')
const ASPECT_RATIO = width / height
const LATITUDE_DELTA = 60 //Very high zoom level
const LONGITUDE_DELTA = LATITUDE_DELTA * ASPECT_RATIO
as you can imagine you can figure out distance between locations and apply math to figure out approximate delta to show them all :) its a challenging with many points however
the above code is more than enough to do what you're trying to do.

@jeveloper  Can we somehow convert a scale of mile/meter into LATDELTA AND LONGDELTA?

Quick update for you
add an event handler
onRegionChangeComplete
onRegionChangeComplete = (region) => {
console.log(" region", region)
}
As your user will zoom in out, you'll get updated delta values :)
Object {longitudeDelta: 0.04250270688370961, latitude: 37.79227293625211, longitude: -122.4211020066645, latitudeDelta: 0.03358723958820065}
The rest is up to you
Please close the ticket, the issue is resolved :)

Hi guys @jeveloper  you're right i try it it's and it's work very very good in simulator IOS (iPhone SE) but when i try in my real device Android the maps dont be zoomed when is loaded

I've found this function to be useful:
let zoom = Math.round(Math.log(360 / region.longitudeDelta) / Math.LN2)

source https://stackoverflow.com/questions/46568465/convert-a-region-latitudedelta-longitudedelta-into-an-approximate-zoomlevel

Hi @jeveloper , my MapView is not zooming out . Also I want to display map in such a way that it should cover all the cordinates. Kindly check the code here
import React from 'react';
import { StyleSheet,Text,View }  from 'react-native';
import MapView from 'react-native-maps';
export default class ReactMap extends React.Component {
constructor(props){
super(props);
this.state={
markers:[{
title:'Coordinate 1',
coordinates:{
latitude: 18.5204,
longitude: 73.8567,
longitudeDelta:50,
latitudeDelta:50,
},
},
{
title:'Coordinate 2',
coordinates:{
latitude: 25.2744,
longitude: 133.7751,
longitudeDelta:50,
latitudeDelta:50,
},
},
{
title:'Coordinate 3',
coordinates:{
latitude: 37.0902,
longitude: 72.8777,
longitudeDelta:50,
latitudeDelta:50,
},
},
{
title:'Coordinate 4',
coordinates:{
latitude: 46.2276,
longitude: 2.2137,
longitudeDelta:50,
latitudeDelta:50,
},
}]
}
}
getInitialState(){
    return{
        region:new MapView.AnimatedRegion({
            latitude: 37.0902,
            longitude: 72.8777,
            longitudeDelta:0.1,
            latitudeDelta:0.1
        }),
    };
}

render() {

    return (

                <MapView style={styles.map}
                region={this.state.region}
                onRegionChangeComplete={(region) => {
                    console.log(" region", region)
              }}>

                {this.state.markers.map(marker =>   (
                    <MapView.Marker key={marker.title}
                    coordinate={marker.coordinates}
                    title={marker.title}
                    >
                    <View style={styles.radius}>
                    <View style={styles.markerStyle}/>
                    </View>
                   </MapView.Marker>
                ))}

                </MapView>

    );
}

}
const styles=StyleSheet.create({
container:{
position:'absolute',
top:0,
bottom:0,
left:0,
right:0,
justifyContent:'flex-end',
alignItems:'center'
},
map:{
position:'absolute',
top:0,
bottom:0,
left:0,
right:0,
},
radius:{
height:15,
width:15,
backgroundColor:'#81BD26',
overflow:'hidden',
borderRadius:50/2,
borderWidth:1,
alignItems:'center',
justifyContent:'center'
},
markerStyle:{
height:14,
width:14,
backgroundColor:'#81BD26',
alignItems:'center',
justifyContent:'center'
}
});

Thank you @marano 👍
const distanceDelta = Math.exp(Math.log(360) - (zoom * Math.LN2));

You can use this to get the delta from zoom
https://stackoverflow.com/questions/46568465/convert-a-region-latitudedelta-longitudedelta-into-an-approximate-zoomlevel/#comment90207683_46570766

Thank you everyone, zoom level 11 is great to display an entire city.

I've found this function to be useful:
let zoom = Math.round(Math.log(360 / region.longitudeDelta) / Math.LN2)

source https://stackoverflow.com/questions/46568465/convert-a-region-latitudedelta-longitudedelta-into-an-approximate-zoomlevel

I'm not able to set the zoom value on a state, the map keeps going back to the original value.
   const [zoom, setZoom] = useState(15)

  <MapView
    onMapReady={_onMapReady}
    latitude={position.latitude}
    longitude={position.longitude}
    onRegionChangeComplete={region => {
      setZoom(Math.round(Math.log(360 / region.longitudeDelta) / Math.LN2))
    }}
  >

Is this all of your code? You need to either specify initialCamera, camera, initialRegion or region depending on your use case.

@andrewtelkamp Oh sorry about that, this snippet of code isnt the best way to show my code, that's the proper code :
const [zoom, setZoom] = useState(15)

<MapView
  ref={map => { this.mapRef = map }}
  onMapReady={props.onMapReady}
  region={{
    latitude: props.latitude,
    longitude: props.longitude,
    latitudeDelta: 0.01,
    longitudeDelta: 0.01
  }}
  loadingEnabled={false}
  showsUserLocation={true}
  showsMyLocationButton={true}
  showsBuildings={false}
  minZoomLevel={13}
  maxZoomLevel={17}
  onRegionChangeComplete={region => {
    setZoom(Math.round(Math.log(360 / region.longitudeDelta) / Math.LN2))
  }}
>

But I found the issue here #1995
And it seems there is no solution for these too.. I'm cracking my head for almost over a week now about this.
I need to store latitudeDelta (zoom) on a state so I can render the markers based on the zoom level. But when I execute the code above and I try to move the map, it keeps jumping to the previous position.

@andrewtelkamp I looked deeply into #1995 and solved by not controlling the region with region and so with initialRegion.

Yeah, you have to use one or the other. If you want to explicitly control the region use region (I rarely find a need for this). Otherwise use initialRegion and use the animateToRegion method if you need to programmatically change your region. Similar use case for camera and initialCamera if you were go that route.

Hope that it will be useful for someone.
This way we can work with region property  based on real zoom-level (0..20)
type Region {
  latitude: Number,
  longitude: Number,
  latitudeDelta: Number,
  longitudeDelta: Number,
}

static getRegionWithDeltaByAccuracy = ({ latitude, longitude, accuracy }) => {
        const latitudeDelta = accuracy / ONE_LATITUDE_DEGREE_IN_METERS;
        const longitudeDelta = accuracy / (ONE_LATITUDE_DEGREE_IN_METERS * Math.cos(latitude * (Math.PI / 180)));

        return result = {
            latitude: latitude,
            longitude: longitude,
            latitudeDelta,
            longitudeDelta,
        }
    }

    static getZoomByRegion = ({ longitudeDelta }) => Math.round(Math.log(360 / longitudeDelta) / Math.LN2);

    static getRegionDeltasFromZoom = (zoom, latitude) => {
        const longitudeDelta = Math.exp(Math.log(360) - (zoom * Math.LN2));
        const accuracy = longitudeDelta * (ONE_LATITUDE_DEGREE_IN_METERS * Math.cos(latitude * (Math.PI / 180)));
        const latitudeDelta = accuracy / ONE_LATITUDE_DEGREE_IN_METERS;
        return {
            longitudeDelta,
            latitudeDelta,
        };
    }

Example of usage
const location = yield call(locationService.getCurrentLocation);
        const regionDeltas = locationService.getRegionDeltasFromZoom(ZOOM_LEVEL_WHEN_GRANTED, location.coords.latitude);
        const region = {
            ...location.coords,
            ...regionDeltas,
        };

        yield all([
            put(setCurrentLocation(location)),
            put(setRegion(region)),
        ]);

Hi @jeveloper , my MapView is not zooming out . Also I want to display map in such a way that it should cover all the cordinates. Kindly check the code here
import React from 'react';
import { StyleSheet,Text,View } from 'react-native';
import MapView from 'react-native-maps';
export default class ReactMap extends React.Component {
constructor(props){
super(props);
this.state={
markers:[{
title:'Coordinate 1',
coordinates:{
latitude: 18.5204,
longitude: 73.8567,
longitudeDelta:50,
latitudeDelta:50,
},
},
{
title:'Coordinate 2',
coordinates:{
latitude: 25.2744,
longitude: 133.7751,
longitudeDelta:50,
latitudeDelta:50,
},
},
{
title:'Coordinate 3',
coordinates:{
latitude: 37.0902,
longitude: 72.8777,
longitudeDelta:50,
latitudeDelta:50,
},
},
{
title:'Coordinate 4',
coordinates:{
latitude: 46.2276,
longitude: 2.2137,
longitudeDelta:50,
latitudeDelta:50,
},
}]
}
}
getInitialState(){
    return{
        region:new MapView.AnimatedRegion({
            latitude: 37.0902,
            longitude: 72.8777,
            longitudeDelta:0.1,
            latitudeDelta:0.1
        }),
    };
}

render() {

    return (

                <MapView style={styles.map}
                region={this.state.region}
                onRegionChangeComplete={(region) => {
                    console.log(" region", region)
              }}>

                {this.state.markers.map(marker =>   (
                    <MapView.Marker key={marker.title}
                    coordinate={marker.coordinates}
                    title={marker.title}
                    >
                    <View style={styles.radius}>
                    <View style={styles.markerStyle}/>
                    </View>
                   </MapView.Marker>
                ))}

                </MapView>

    );
}

}
const styles=StyleSheet.create({
container:{
position:'absolute',
top:0,
bottom:0,
left:0,
right:0,
justifyContent:'flex-end',
alignItems:'center'
},
map:{
position:'absolute',
top:0,
bottom:0,
left:0,
right:0,
},
radius:{
height:15,
width:15,
backgroundColor:'#81BD26',
overflow:'hidden',
borderRadius:50/2,
borderWidth:1,
alignItems:'center',
justifyContent:'center'
},
markerStyle:{
height:14,
width:14,
backgroundColor:'#81BD26',
alignItems:'center',
justifyContent:'center'
}
});

hi developer...
have you solved this issue m getting the same issue

Hey folks
There is no ZOOm level here
Its called lat delta and long delta
e.g. 0.03 is about a few city blocks
Most of the north america/canada would be visible at
latitude_delta value 60
this works on both platforms very well

But  I am getting blur map if I zoom in

authors: AmalinaMakhtar EgorKazachenko ElMaghri LuizFBrisighello Moumene NavpreetXccelerata ShaikhKabeer ZeeshanAhmadKhalil andrewtelkamp jeveloper jojonarte l-Marty-l marano

repo: react-native-maps/react-native-maps


text:
add isGesture to onRegionChangeComplete iOS

Reopen this PR by adding isGesture to onRegionChangeComplete callback on iOS MapKit

Does any other open PR do the same thing?

https://github.com/react-native-maps/react-native-maps/pull/4113
https://github.com/react-native-maps/react-native-maps/pull/4272
What issue is this PR fixing?
https://github.com/react-native-maps/react-native-maps/issues/4112
How did you test this PR?

Tested in production and 1 simulator iOS

RyanTG If they don't approve this PR you can try using
https://javascript.plainenglish.io/live-npm-package-patching-with-patch-package-b8f30d47779c
https://gist.github.com/eduardorfreitas93/eb1f37784a936b4bd618ffd209fb72db

Hi @eduardorfreitas93 👋. Thank you for opening a new PR after the refactor.
As far as I can tell, this PR addsisGesture to the onRegionChange with a value that's always false? That seems undesirable :) If you could look into that, I will be happy to review this again :)

@Simon-TechForm Hi, it adds isGesture true in the return of onRegionChangeComplete, but I can see if I implement it in onRegionChange too

It's not a necessity to implement the isGesture functionality for onRegionChange for me to merge this. But we can't have it return isGesture=false even when it should be true :)

With this implementation I return isGesture true when the user makes the gesture to navigate the map, when the navigation on the map is automatic, for example zoom or recenter it has to return false, at least that was the functionality I needed

@Simon-TechForm I made the changes

@eduardorfreitas93 I'm afraid this approach isn't going to work either. If you swipe the map (meaning the region will keep changing for a bit after you release your gesture), isGesture will change to false even though it should be true.
I'm afraid that I'm too occupied atm to help you out with a solution, but I would suggest putting together a set of test cases that you evaluate when coming up with a new approach, e.g.:

Case isGesture
Expected onRegionChange
Actual onRegionChange
Expected onRegionChangeComplete
Actual onRegionChangeComplete
Result

animateToRegion
false

false

animateToRegion intercepted by gesture
false until interception, then true

true

Drag map
true

true

Good

Swipe map
true, also when gesture is released
true while gesture, then false
true
false
Bad

Swipe map intercepted by animateToRegion
True until interception, then false

false

These are just off the top of my head, you could come up with more/others. Also make sure to check out Google Maps to match the behaviour.

I'll close this for now and re-open when we have a working solution :)

I think this is urgently needed. Have you guys found a workaround?

I don’t have a workaround. I created a “Discussion” for this here: https://github.com/react-native-maps/react-native-maps/discussions/4440
But it’s not gaining traction.

@RyanTG Awesome, thank you!

This would be so useful haven't found a workaround

authors: RyanTG Simon-TechForm eduardorfreitas93 samih-sghier wmonecke


text:
Fix IOS ripple expanding outside of the container

Hi,
This pull request should fix the IOS ripple animation, while preserving the shadow

Thanks
Cheers,

Hi, happy to merge, could you update to resolve conflicts please - sorry about the delay!

@Ehesp :) should be all good to go now
Thanks :D

authors: Ehesp mlabrum


text:
Nested SVGs not rendering gradients

I am drawing an image that pulls in icons defined as SVGs from config files. When the svgs are pulled in  I am not seeing the gradients render in the nested SVGs.
I have experienced this on RN SVG ^9.13.0 to 12.1.0  in iOS
Minimal Example:
import * as React from 'react';
import {Svg, Defs, LinearGradient, Stop, G, Rect, Circle} from 'react-native-svg';

export default function App() {
  return (

       <Svg width={150} height={50}>
        <Defs>
          <LinearGradient id="grad1" x1={'0%'} y1={'0%'} x2={'100%'} y2={'100%'}>
            <Stop offset={0} stopColor="red" />
            <Stop offset={1} stopColor="blue" />
          </LinearGradient>
        </Defs>
        <Rect x={0} y={0} width={150} height={50} fill={'pink'} />
         {/* Renders gradient correctly*/}
        <Circle cx={25} cy={25} r={25} fill={'url(#grad1)'} stroke="black" />

        <G x={50} y={0}>
          <Svg width={50} height={50}>
            {/* Renders red BG correctly*/}
            <Circle cx={25} cy={25} r={25} fill={'red'} stroke="black" />
          </Svg>
        </G>

        <G x={100} y={0}>
          <Svg width={50} height={50}>
            <Defs>
              <LinearGradient id="grad2" x1={'0%'} y1={'0%'} x2={'100%'} y2={'100%'}>
                <Stop offset={0} stopColor="red" />
                <Stop offset={1} stopColor="blue" />
              </LinearGradient>
            </Defs>
            {/* Does not render gradient, fill is transparent on iOS*/}
            <Circle cx={25} cy={25} r={25} fill={'url(#grad2)'} strokeWidth={1} stroke="black" />
          </Svg>
        </G>
      </Svg>

  );
}

Output Screenshot:

Snack:
In this snack, it appears to work on Web and Android, but fails in iOS
https://snack.expo.io/eQ62NyiMSr

As a work around I've found that I if I wrap the nested SVG in a RN View and ForgienObject it works, like so:
<Svg>
...rest of the SVG code
<ForgienObject>
   <View>
         <Svg width={50} height={50}>
            <Defs>
              <LinearGradient id="grad2" x1={'0%'} y1={'0%'} x2={'100%'} y2={'100%'}>
                <Stop offset={0} stopColor="red" />
                <Stop offset={1} stopColor="blue" />
              </LinearGradient>
            </Defs>
            <Circle cx={25} cy={25} r={25} fill={'url(#grad2)'} strokeWidth={1} stroke="black" />
          </Svg>
    </View>
</ForgienObject>
</Svg>

I found a solution that instead of using the svgs having gradient,I converted the SVG into a Lottie file. that works great and as an extra advantage, we can transform the SVG into a simple animation :)

This should be fixed by https://github.com/software-mansion/react-native-svg/pull/1939. Can you check if it is so?

authors: Ttecs WoLewicki cmlarsen

repo: react-native-svg/react-native-svg


text:
Embed Youtube video autoplay not working

Bug description:
Youtube embedded player not working correctly in webview. Autoplay not working.
To Reproduce:
           <WebView
            mediaPlaybackRequiresUserAction={false}
            allowsInlineMediaPlayback={true}
// this prop makes autoplay right after loaded but its not allow go fullscreen since its embed for pc web not mobile if i understand it correctly
            //userAgent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36"
            source={{
               uri: `https://www.youtube.com/embed/${video.id}?autoplay=1&modestbranding=1&playsinline=1`,
            }}
          />

Expected behavior:
Autoplay right after video loaded in webview.
Screenshots/Videos:
Example with prop userAgent: https://streamable.com/w43awn
Example with expected behaviour but autoplay not working: https://streamable.com/qq57kj
Environment:

OS: iOS
OS version: 14.2
react-native version: 0.63.2
react-native-webview version:^11.0.0

any idea when this would be fixed ?

Is there a user agent that fixes both issues?

Is there a user agent that fixes both issues?
Also if you don't need fullscreen (of course it'd be nice to have...) you can disable the button by passing &fs=0 into the webview URL.

I do need fullscreen.

HI, I'm facing same issue any help?

authors: MrXyfir RaviMopo micheilsgrey mounirzarkan


text:
Fix NuGet package reference

Fixes https://github.com/react-native-webview/react-native-webview/issues/3189 and https://github.com/react-native-webview/react-native-webview/issues/1861

@jamonholmgren Can you review this?


text:
Web Auth Flow

Hi guys,
Im finding that following the normal react-navigation 'Auth Flow' as per the docs breaks when targetting web - as the url deep linking will bypass that route, and therefore the nested screen is loaded without the auth being inited.
has anyone experienced this - what are you thoughts on how to address this problem?

so I'm currently getting around this using nested AppContainer's. I'm not sure if this is valid as I'm just getting started, but at the top level of my app I have a normal app container:
import { createSwitchNavigator, createAppContainer } from 'react-navigation'

import { Startup } from './Startup'
import { App } from './App'
import { Auth } from './Auth'

export default createAppContainer(
  createSwitchNavigator(
    {
      Startup,
      Auth,
      App,
    },
    {
      initialRouteName: 'Startup',
    },
  ),
)

then within App I have another:
import React from 'react'
import { Platform } from 'react-native'
import { createBrowserApp } from '@react-navigation/web'
import { createAppContainer, createSwitchNavigator } from 'react-navigation'

import { Screen } from './Screen'
import { Screen2 } from './Screen2'

const createApp = Platform.select({
  web: createBrowserApp,
  default: createAppContainer,
})

const AppContainer = createApp(
  createSwitchNavigator(
    {
      Screen,
      Screen2,
    },
    {
      initialRouteName: 'Screen',
    },
  ),
)

This seems to work well, even if you visit /Screen2 when not authed you'll see my auth screen. Once logged in /Screen2 will be shown as expected.
The only thing I can't seem to figure out is how to make /Screen my index view and work as /. Visiting / shows the correct view, but I don't know how to get back to that view without it ending up as /Screen in the url bar.

@tonypee got this working using the following code for App:
import React from 'react'
import { Platform } from 'react-native'
import { createBrowserApp } from '@react-navigation/web'
import { createAppContainer, createSwitchNavigator } from 'react-navigation'

import { Screen } from './Screen'
import { Screen2 } from './Screen2'

const createApp = Platform.select({
  web: createBrowserApp,
  default: createAppContainer,
})

const AppContainer = createApp(
  createSwitchNavigator(
    {
      Screen: {
          screen: Screen,
          path: '',
      },
      Screen2,
    },
    {
      initialRouteName: 'Screen',
    },
  ),
)

So I was able to (almost) get this working without two navigators. The issue I'm running into is that if you open the app with a deep URL that is within App it seems that the Startup will be skipped. I found workarounds for this in a native context: https://stackoverflow.com/questions/54350991/react-navigation-deep-linking-with-authentication
but I don't feel these work in a web context.
For now I'm going to keep my nested navigators, but I'm curious if there is a way to support auth without having to "break the rules" :)

@chrisdrackett, thank you!
Does some body from react navigation team have recommendations for the 'right' way to accomplish this part of auth flow?

Hello, any news/advice regarding the "Web Auth" flow in web? In my Expo project I'm using a Switch Navigator, however in web, as @tonypee said one can go to the "protected" screens without any type of checks. In my project:
const AppSwitchNavigator = createSwitchNavigator(
  {
    AuthLoading: { screen: AuthLoadingScreen, path: "" },
    Auth: { screen: AuthStack, path: "auth" },
    Main: { screen: MainStack, path: "main" },
    Error: ErrorScreen
  },
  {
    initialRouteName: "AuthLoading"
  }
);

And then, my App Container:
const createApp = Platform.select({
  // web: config => createBrowserApp(config, { history: "hash" }),
  web: config => createBrowserApp(config),
  default: config => createAppContainer(config)
});

export default createApp(AppSwitchNavigator);

I have tried both ways (with history "hash"). I haven't found a lot of documentation about it. I would like to know how to handle this in the web. Thank you!

authors: anatula chrisdrackett proof666 tonypee

repo: react-navigation/web


text:
useTransition when leave with height to zero

🐛 Bug Report
with useTransition, item that disappears persists despite a height at 0.
To Reproduce
I think when we set the item with height equal to zero, on the leave event, there is an issue. The item doesn't disapear. it is still here.
(I set height to 0 to avoid jump effect when the item closed disapear.)
Steps to reproduce the behavior:
go to go to https://codesandbox.io/s/recursing-gagarin-runmq
open your console.
wait until to notification are displayed
close the twice notification by first closing the highest one (item 2 => item1)
you see in the console the same id click twice ({key: 2} instead of {key: 2}{key:1})
and of course the item 1 doesn't disappear
Expected behavior
Link to repro
https://codesandbox.io/s/recursing-gagarin-runmq
Environment

react-spring v8.0.27
react v16.8.1

Please try with v9:
npm install react-spring@next

It's a css problem. overflow: hidden solve the problem.

authors: aleclarson tdetugny

repo: react-spring/react-spring


text:
ShouldComponentUpdate blocks the opening/closing of SubComponent

Hello,
I'm using shouldComponentUpdate to prevent the table from unnecessarily updating when there's nothing to update. However, when I check this, after some random time interval it'll lock the SubComponent so I can no longer update or open any other items.
Here's what I'm checking (I'm unable to put it into codesandbox as some of the dependencies is sent from the server):
value: function shouldComponentUpdate(nextProps, nextState) { if(!_.isEqual(this.props.data, nextProps.data)) {                         return true;                     }                     if(!_.isEqual(this.state.data, nextState.data)) {                         return true;                     }                     return false;                 }
Thanks

Well, opening and closing of the sub-component relies on a component update. You'll need to take that into account in some way. Are you totally convinced your need to manage shouldComponentUpdate ? It can get you into a lot of trouble. If you do, then maybe you should do in a high-up component (wrap react-table and allow it "always" update when it needs to) and hoist the update management to a higher component.

authors: K-Sutton gary-menzel

repo: react-tools/react-table


text:
Travel Article Application

Travel Article Application
Collection of images:
https://dribbble.com/shots/5729892-Travel-Article-Application
https://dribbble.com/shots/5717917-Travel-Article-Application
https://dribbble.com/shots/5774759-Photo-Album-Application

@NelsonPRSousa nice one, the design is beautiful :)
The animations & transitions are the biggest challenge. I'll add this one to the list.

@NelsonPRSousa nice one, the design is beautiful :)
The animations & transitions are the biggest challenge. I'll add this one to the list.

Glad you like it! Btw, are you using just React Native or an toolchain like Expo.io?
Let me know if you need more suggestions and how can I help 👍

Expo.io for fast setup and testing, but I use to code the screens and components using react-native components, trying to exclude Expo API as much as possible.

Let me know if you need any help!

Added to the list.

@NelsonPRSousa Just to let you know that I pushed the Travel App screens to https://github.com/react-ui-kit/dribbble2react/tree/master/travel-app
Next is the video for coding session :)

@NelsonPRSousa here is the video: https://youtu.be/zJ9QETiwdfo

Will take close attention. Thanks!

authors: NelsonPRSousa hetmann


text:
Update slf4j-nop to 2.0.5

Updates org.slf4j:slf4j-nop from 2.0.4 to 2.0.5.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (2.0.4).
You might want to review and update them manually.
project/Helpers.scala

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.slf4j", artifactId = "slf4j-nop" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.slf4j", artifactId = "slf4j-nop" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

removed dependency on slf4j

authors: reid-spencer scala-steward

repo: reactific/riddl


text:
How to recover from a full disk

In the real world, there is always a risk of exceeding available storage.  I ran the getting started configuration, and then ran the following test case to exceed the default storage of 200Mi.  The PODs kept crashing.  I tired to increase the storage space in the CR, but it didn't work.  What is the proper procedure to recover this real work scenario?
CREATE DATABASE tgates_test_db1;

\c tgates_test_db1

CREATE TABLE scale_data (
section NUMERIC NOT NULL,
id1     NUMERIC NOT NULL,
id2     NUMERIC NOT NULL
);

INSERT INTO scale_data
SELECT sections.*, gen.*, CEIL(RANDOM()*100)
FROM GENERATE_SERIES(1, 300)     sections,
     GENERATE_SERIES(1, 900000) gen
WHERE gen <= sections * 3000;

Thank you. There is an issue #34 which was reported from a user with a similar issue.
It seems like expanding the storage does not work as expected in all use-cases.
I am going to work on this potential bug fix next.
I am closing this issue and you can follow an update by watching #34

I committed a potential bug fix in master.
To test it, please run the following command in your Kubernetes cluster:
kubectl apply -f https://raw.githubusercontent.com/reactive-tech/kubegres/main/kubegres.yaml

Could you please help me by testing it and let me know if you are happy with it?
Once you confirmed it is working for you, I will create a new tag 1.10
Please let me know and thanks in advance for your help!

authors: alex-arica tgates-nalej

repo: reactive-tech/kubegres


text:
Uncaught ReferenceError: Map is not defined at line

I added the server.bundle.js and this error showed up. Upon looking at the bundle I figured out that it came from this line, it must have come from one of the 3rd party libraries that our other devs included but I can't be certain which one. I also figured out that it has something to do with the polyfills but I don't know how to resolve that as well:
`var scheduleWork = void 0;
var cancelScheduledWork = void 0;
if (!ExecutionEnvironment.canUseDOM) {
  var timeoutIds = new Map();

  scheduleWork = function (callback, options) {
    // keeping return type consistent
    var callbackConfig = {
      scheduledCallback: callback,
      timeoutTime: 0,
      next: null,
      prev: null
    };`

Hello!
You need to use a JS engine that supports ECMAScript 6: JavaScriptEngineSwitcher.ChakraCore and JavaScriptEngineSwitcher.V8. I recommend also reading the “Misconceptions about the JavaScript Engine Switcher version 2.X” discussion.

Hi @Taritsyn ! Thanks for your reply.
ChakraCore and V8 is already included in our solution and I've followed installing the native assemblies (JavaScriptEngineSwitcher.V8.Native.win-x86 and JavaScriptEngineSwitcher.V8.Native.win-x64.) but the app still renders the same error.  Am I missing some steps?

Hi!
It's been resolved now. I just have to add this on Configure:
engineSwitcher.EngineFactories.AddChakraCore()
                                          .AddV8();

I would also add the following line after:
...
engineSwitcher.DefaultEngineName = V8JsEngine.EngineName;

authors: Taritsyn ahiyalala


text:
[Done] Translation courses.md - @Moast

@moast , thank you for your contribution ...
The next time , please create a Pull Request. If you don't know how to do this follow this video ..

Changed were added

Thank you for your contribution!
Please review the comments I left and also, remove all إطار عمل React and replace it by simply React or مكتبة React. React is a library, not a framework (مكتبة وليست إطار عمل).
Also, there are some missing همزات, I highlighted some of them, so please review your translation :)

please @moast  , check this ........

I suggest "أداءة"

I suggest "أداءة"

where ?

framework > أداءة

framework > أداءة

It's incorrect. You can be اداة

authors: 3imed-jaberi Aissaoui-Ahmed moast


text:
[fixed] Multiple modals on page causing contradictory class updates

Changes proposed:

Modals should only update if they are either opening or closing. If they will remained closed then there is no reason to run the renderPortal() method.

Fixes #218 #231 #308
Used the tests from https://github.com/reactjs/react-modal/pull/326
Acceptance Checklist:

[x] All commits have been squashed to one.
[x] The commit message follows the guidelines in CONTRIBUTING.md.
[x] Documentation (README.md) and examples have been updated as needed.
[x] If this is a code change, a spec testing the functionality has been added.
[x] If the commit message has [changed] or [removed], there is an upgrade path above.

Coverage decreased (-0.9%) to 79.57% when pulling 6098432f82653dd2b34dfd028e2546e02f8151fe on ajfuller:feature/isOpen-false-no-update into ebec6386156fe7fbe57f3365cfdce6d26fb4c962 on reactjs:master.

Coverage decreased (-0.6%) to 79.928% when pulling 2e92ab8b4f8d4424e09996669539d02ffece70b3 on ajfuller:feature/isOpen-false-no-update into ebec6386156fe7fbe57f3365cfdce6d26fb4c962 on reactjs:master.

Coverage decreased (-0.6%) to 79.928% when pulling 2e92ab8b4f8d4424e09996669539d02ffece70b3 on ajfuller:feature/isOpen-false-no-update into ebec6386156fe7fbe57f3365cfdce6d26fb4c962 on reactjs:master.

Related issue #335.

Relates to #358.

@ajfuller Thank you so much for the attention to this.

authors: adjohnson916 ajfuller coveralls diasbruno

repo: reactjs/react-modal


text:
Clarify that object spread syntax is standard in ES2018

Seems like this is fixed now.
link to the section: https://reactjs.org/docs/optimizing-performance.html#the-power-of-not-mutating-data
Thanks for sending a PR. Sorry for the late turn around time.

authors: harish-sethuraman lazarljubenovic


text:
Updated copyright

We have already made it to be a dynamic one instead. So closing this out. Thanks for the PR though.

authors: apuravchauhan saranshkataria


text:
🛑 Web Kartu Ujian is down

In f006d4b, Web Kartu Ujian (https://kartuujian.sman12-bekasi.sch.id/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Web Kartu Ujian is back up in dcf4403 after 6 minutes.


text:
🛑 Bellshade API is down

In 56463fe, Bellshade API (https://api.bellshade.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bellshade API is back up in cc9b10a after 6 minutes.